raulcd commented on PR #88:
URL: https://github.com/apache/parquet-testing/pull/88#issuecomment-3049156709
With the changes on `ParquetFilePrinter` on the PR:
```
$ /home/raulcd/code/dist/bin/parquet-reader
./arrow/cpp/submodules/parquet-testing/data/binary_truncated_min_max.parquet
File Name:
./arrow/cpp/submodules/parquet-testing/data/binary_truncated_min_max.parquet
Version: 1.0
Created By: parquet-rs version 55.1.0
Total rows: 12
Number of RowGroups: 1
Number of Real Columns: 6
Number of Columns: 6
Number of Selected Columns: 6
Column 0: utf8_full_truncation (BYTE_ARRAY / String / UTF8)
Column 1: binary_full_truncation (BYTE_ARRAY)
Column 2: utf8_partial_truncation (BYTE_ARRAY / String / UTF8)
Column 3: binary_partial_truncation (BYTE_ARRAY)
Column 4: utf8_no_truncation (BYTE_ARRAY / String / UTF8)
Column 5: binary_no_truncation (BYTE_ARRAY)
--- Row Group: 0 ---
--- Total Bytes: 1414 ---
--- Total Compressed Bytes: 1414 ---
--- Rows: 12 ---
Column 0
Values: 12, Null Values: 0, Distinct Values: 0
Max: Kf, Min: Al, Is Min Value Exact: false, Is Max Value Exact: false
Compression: UNCOMPRESSED, Encodings: PLAIN RLE
Uncompressed Size: 250, Compressed Size: 250
Column 1
Values: 12, Null Values: 0, Distinct Values: 0
Max: Kf, Min: Al, Is Min Value Exact: false, Is Max Value Exact: false
Compression: UNCOMPRESSED, Encodings: PLAIN RLE
Uncompressed Size: 250, Compressed Size: 250
Column 2
Values: 12, Null Values: 0, Distinct Values: 0
Max: 🚀Kevin Bacon, Min: Al, Is Min Value Exact: false, Is Max Value Exact:
true
Compression: UNCOMPRESSED, Encodings: PLAIN RLE
Uncompressed Size: 258, Compressed Size: 258
Column 3
Values: 12, Null Values: 0, Distinct Values: 0
Max: ��, Min: Al, Is Min Value Exact: false, Is Max Value Exact: true
Compression: UNCOMPRESSED, Encodings: PLAIN RLE
Uncompressed Size: 236, Compressed Size: 236
Column 4
Values: 12, Null Values: 0, Distinct Values: 0
Max: Ke, Min: Al, Is Min Value Exact: true, Is Max Value Exact: true
Compression: UNCOMPRESSED, Encodings: PLAIN RLE
Uncompressed Size: 210, Compressed Size: 210
Column 5
Values: 12, Null Values: 0, Distinct Values: 0
Max: Ke, Min: Al, Is Min Value Exact: true, Is Max Value Exact: true
Compression: UNCOMPRESSED, Encodings: PLAIN RLE
Uncompressed Size: 210, Compressed Size: 210
--- Values ---
utf8_full_truncation |binary_full_truncation
|utf8_partial_truncation |binary_partial_truncation
|utf8_no_truncation |binary_no_truncation |
Blart Versenwald III |Blart Versenwald III |Blart
Versenwald III |Blart Versenwald III |Blart Versenwald III
|Blart Versenwald III |
Alice Johnson |Alice Johnson |Alice Johnson
|Alice Johnson |Al
|Al |
Bob Smith |Bob Smith |Bob Smith
|Bob Smith |Bob Smith
|Bob Smith |
Charlie Brown |Charlie Brown |Charlie Brown
|Charlie Brown |Charlie Brown
|Charlie Brown |
Diana Prince |Diana Prince |Diana Prince
|Diana Prince |Diana Prince
|Diana Prince |
Edward Norton |Edward Norton |Edward Norton
|Edward Norton |Edward Norton
|Edward Norton |
Fiona Apple |Fiona Apple |Fiona Apple
|Fiona Apple |Fiona Apple
|Fiona Apple |
George Lucas |George Lucas |George Lucas
|George Lucas |George Lucas
|George Lucas |
Helen Keller |Helen Keller |Helen Keller
|Helen Keller |Helen Keller
|Helen Keller |
Ivan Drago |Ivan Drago |Ivan Drago
|Ivan Drago |Ivan Drago
|Ivan Drago |
Julia Roberts |Julia Roberts |Julia Roberts
|Julia Roberts |Julia Roberts
|Julia Roberts |
Kevin Bacon |Kevin Bacon |🚀Kevin Bacon
|�� |Ke |Ke
|
```
Testing parquet files without the value set show:
```
Column 195
Values: 1, Null Values: 0, Distinct Values: 0
Max: 364, Min: 364, Is Min Value Exact: N/A, Is Max Value Exact: N/A
Compression: ZSTD, Encodings: PLAIN RLE_DICTIONARY RLE
Uncompressed Size: 64, Compressed Size: 82
```
--
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]