Hi all,
   In the PR https://github.com/apache/arrow-rs/pull/3431, I want to write
decimal data with lower precision to INT32/INT64 in the parquet file.

   The document of arrow c++ about  Reading and writing Parquet files
<https://arrow.apache.org/docs/cpp/parquet.html#logical-types> requires
`(2) On the write side, a FIXED_LENGTH_BYTE_ARRAY is always emitted.`

   But in the definition of parquet format
<https://github.com/apache/parquet-format/blob/master/LogicalTypes.md#decimal>
for
logical type of decimal, the decimal type can be represented by INT32/INT64
for the lower precision.

   Why we not follow the definition of parquet
<https://github.com/apache/parquet-format/blob/master/LogicalTypes.md#decimal>
for
writing the parquet file?

Thanks
Kun

Reply via email to