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 am saving decimal values which I only care about the scale up to 4 digits i.e. ParquetDecimal(9,4), and I expected that if a number if saved which naturally has a scale of 5, internally it would get rounded off to fit the desired scale. However I've noticed that the values get truncated at the stated scale which tempers with accuracy in my use case.
Could I be missing something, or is this the intended design?
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 am saving decimal values which I only care about the scale up to 4 digits i.e.
ParquetDecimal(9,4)
, and I expected that if a number if saved which naturally has a scale of 5, internally it would get rounded off to fit the desired scale. However I've noticed that the values get truncated at the stated scale which tempers with accuracy in my use case.Could I be missing something, or is this the intended design?
Beta Was this translation helpful? Give feedback.
All reactions