You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm moving data from a database (often Oracle) into Parquet where the precision of the decimal value exceeds the 28-digits that we have in .net decimal types - say Decimal(36,4). This is a problem in the .net database providers, but I can get around that by extracting the data as text. What I don't know is how to insert that large decimal into a Parquet file using Parquet-dotnet.
I can think of a few options:
Perhaps there's a Parse() option on the decimal type in Parquet-dotnet?
Is there a custom datatype that I've missed?
Format the binary representation directly, but then how would I write it?
I suspect that I'm not the first one to come across this, but if there's a solution, I must have missed it.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm moving data from a database (often Oracle) into Parquet where the precision of the decimal value exceeds the 28-digits that we have in .net decimal types - say Decimal(36,4). This is a problem in the .net database providers, but I can get around that by extracting the data as text. What I don't know is how to insert that large decimal into a Parquet file using Parquet-dotnet.
I can think of a few options:
I suspect that I'm not the first one to come across this, but if there's a solution, I must have missed it.
Any suggestions?
Beta Was this translation helpful? Give feedback.
All reactions