ArnavBalyan commented on issue #3246: URL: https://github.com/apache/parquet-java/issues/3246#issuecomment-3195159229
Hi @4ertus2, looking at the code, the Parquet Writer does not do anything special with high-precision decimal, the raw bytes of the un-scaled integer are written through `BYTE_ARRAY` and read back the same way (https://github.com/apache/parquet-java/blob/master/parquet-column/src/main/java/org/apache/parquet/column/values/plain/PlainValuesWriter.java#L52). Since the array is treated as an opaque blob, byte swapping would not be needed. I'll raise a change to add some comments in the code -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
