Losing precision on decimal number during conversion from JSON #287
-
I have a JSON string with a decimal value 26.61657491, and when I write the JSON file to parquet:
which appears to be successful, but when I open the resulting parquet file the decimal is now 26.616575. So it has been rounded down somewhere in the conversion process. Is this expected behavior of writing parquet files? Is there usually going to be some loss of precision in this way? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
It seems to be bug in the library. While I fix and release it, you can do as below in the meantime to fix this issue
|
Beta Was this translation helpful? Give feedback.
It seems to be bug in the library. While I fix and release it, you can do as below in the meantime to fix this issue