You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@parquet.apache.org by "ArnavBalyan (via GitHub)" <gi...@apache.org> on 2025/08/18 05:35:47 UTC

Re: [I] Is big Decimal in Parquet big endian? [parquet-java]

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: issues-unsubscribe@parquet.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@parquet.apache.org
For additional commands, e-mail: issues-help@parquet.apache.org