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

Re: [PR] Add binary truncated min/max statistics with is_{max/min}_value_exact=false [parquet-testing]

wgtmac commented on PR #88:
URL: https://github.com/apache/parquet-testing/pull/88#issuecomment-3034500510

   Sorry for a late reply. I just checked its data and metadata and it looks good.
   
   ```
   ~/Projects/parquet-testing/data (binary-truncated-min-max-statistics*) » parquet-cli meta binary_truncated_min_max.parquet
   
   File path:  binary_truncated_min_max.parquet
   Created by: parquet-rs version 55.1.0
   Properties:
     ARROW:schema: /////5QAAAAQAAAAAAAKAAwACgAJAAQACgAAABAAAAAAAQQACAAIAAAABAAIAAAABAAAAAIAAAA8AAAABAAAANz///8UAAAADAAAAAAAAAQMAAAAAAAAAMz///8BAAAAYgAAABAAFAAQAAAADwAEAAAACAAQAAAAGAAAAAwAAAAAAAAFEAAAAAAAAAAEAAQABAAAAAEAAABhAAAA
   Schema:
   message arrow_schema {
     required binary a (STRING);
     required binary b;
   }
   
   
   Row group 0:  count: 12  41.67 B records  start: 4  total(compressed): 500 B total(uncompressed):500 B
   --------------------------------------------------------------------------------
      type      encodings count     avg size   nulls   min / max
   a  BINARY    _ BB_     12        20.83 B    0       "Al" / "Kf"
   b  BINARY    _ BB_     12        20.83 B    0       "0x416C" / "0x4B66"
   ```
   
   ```
   ~/Projects/parquet-testing/data (binary-truncated-min-max-statistics*) » parquet-cli cat binary_truncated_min_max.parquet                                                  gangwu@Gangs-MacBook-Pro
   {"a": "Blart Versenwald III", "b": "Blart Versenwald III"}
   {"a": "Alice Johnson", "b": "Alice Johnson"}
   {"a": "Bob Smith", "b": "Bob Smith"}
   {"a": "Charlie Brown", "b": "Charlie Brown"}
   {"a": "Diana Prince", "b": "Diana Prince"}
   {"a": "Edward Norton", "b": "Edward Norton"}
   {"a": "Fiona Apple", "b": "Fiona Apple"}
   {"a": "George Lucas", "b": "George Lucas"}
   {"a": "Helen Keller", "b": "Helen Keller"}
   {"a": "Ivan Drago", "b": "Ivan Drago"}
   {"a": "Julia Roberts", "b": "Julia Roberts"}
   {"a": "Kevin Bacon", "b": "Kevin Bacon"}
   --------------------------------------------
   ```


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