pitrou opened a new pull request, #40132:
URL: https://github.com/apache/arrow/pull/40132

   In `ParquetFilePrinter`, when printing the type of the column, also print 
its byte width if the type is FIXED_LEN_BYTE_ARRAY.
   
   Before:
   ```
   Column 0: float16_plain (FIXED_LEN_BYTE_ARRAY / Float16)
   Column 1: float16_byte_stream_split (FIXED_LEN_BYTE_ARRAY / Float16)
   Column 2: float_plain (FLOAT)
   Column 3: float_byte_stream_split (FLOAT)
   Column 4: double_plain (DOUBLE)
   Column 5: double_byte_stream_split (DOUBLE)
   Column 6: int32_plain (INT32)
   Column 7: int32_byte_stream_split (INT32)
   Column 8: int64_plain (INT64)
   Column 9: int64_byte_stream_split (INT64)
   Column 10: flba5_plain (FIXED_LEN_BYTE_ARRAY)
   Column 11: flba5_byte_stream_split (FIXED_LEN_BYTE_ARRAY)
   Column 12: decimal_plain (FIXED_LEN_BYTE_ARRAY / Decimal(precision=7, 
scale=3) / DECIMAL(7,3))
   Column 13: decimal_byte_stream_split (FIXED_LEN_BYTE_ARRAY / 
Decimal(precision=7, scale=3) / DECIMAL(7,3))
   ```
   
   After:
   ```
   Column 0: float16_plain (FIXED_LEN_BYTE_ARRAY(2) / Float16)
   Column 1: float16_byte_stream_split (FIXED_LEN_BYTE_ARRAY(2) / Float16)
   Column 2: float_plain (FLOAT)
   Column 3: float_byte_stream_split (FLOAT)
   Column 4: double_plain (DOUBLE)
   Column 5: double_byte_stream_split (DOUBLE)
   Column 6: int32_plain (INT32)
   Column 7: int32_byte_stream_split (INT32)
   Column 8: int64_plain (INT64)
   Column 9: int64_byte_stream_split (INT64)
   Column 10: flba5_plain (FIXED_LEN_BYTE_ARRAY(5))
   Column 11: flba5_byte_stream_split (FIXED_LEN_BYTE_ARRAY(5))
   Column 12: decimal_plain (FIXED_LEN_BYTE_ARRAY(4) / Decimal(precision=7, 
scale=3) / DECIMAL(7,3))
   Column 13: decimal_byte_stream_split (FIXED_LEN_BYTE_ARRAY(4) / 
Decimal(precision=7, scale=3) / DECIMAL(7,3))
   ```
   


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