liukun4515 commented on PR #3431:
URL: https://github.com/apache/arrow-rs/pull/3431#issuecomment-1370433954

   I also find the schema mapping in java version of the `parquet-mr` project: 
https://github.com/apache/parquet-mr/blob/433de8df33fcf31927f7b51456be9f53e64d48b9/parquet-arrow/src/main/java/org/apache/parquet/arrow/schema/SchemaConverter.java#L227,
 and it supports the mapping from arrow decimal type to INT32/INT64 parquet 
physical type.
   
   But find the implementation of c++ version arrow: 
https://arrow.apache.org/docs/cpp/parquet.html#logical-types, and find some 
notes about the arrow decimal:
   
   ```
   
   
   DECIMAL | INT32 / INT64 / BYTE_ARRAY / FIXED_LENGTH_BYTE_ARRAY | Decimal128 
/ Decimal256 | (2)
   
   (2) On the write side, a FIXED_LENGTH_BYTE_ARRAY is always emitted.
   
   ```


-- 
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]

Reply via email to