Omkar-Wagholikar commented on PR #27546:
URL: https://github.com/apache/datafusion/pull/27546#issuecomment-7301078625

   Thanks @alamb, I've updated the PR
   
   - Real files: I added two small parquet files written by parquet-rs 53.0.0 
(made locally) under datafusion/core/tests/data/legacy_null_counts/, with a 
corresponding README.md containing the code and commands used to write them. 
        - One has the real created_by
        - The other has the same data with created_by overridden, so its 
missing counts must stay unknown.
   - sqllogictest: A new parquet_legacy_null_counts.slt checks both files. The 
legacy file answers COUNT(v) from metadata and IS NULL prunes 3 row groups down 
to 1. Importantly, the overridden file scans everything, with no pruning.
   - Rust test: Replaced the footer-rewriting test with one that reads the same 
files.
   - Removed tests: I dropped the intermediate statistics test you pointed at, 
and also the by-writer row-group unit test. Retained the created_by parsing 
test.
   
   I checked that each flag the change adds is still covered, at least one of 
these tests fail if any of them are forced to false.


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

Reply via email to