efegokdemir opened a new pull request, #3819:
URL: https://github.com/apache/parquet-java/pull/3819

   ## Summary
   
   Preserve `null_count` when a column's min/max statistics exceed the metadata 
size limit.
   
   The size guard is needed for min/max values, but `null_count` is a compact 
independent statistic and remains useful to readers. This keeps the null count 
available without reintroducing oversized min/max metadata.
   
   ## Changes
   
   - Emit `null_count` before applying the min/max size limit.
   - Keep nan count and min/max omission behavior unchanged for oversized 
statistics.
   - Extend the binary statistics round-trip test to cover the preserved null 
count.
   
   ## Testing
   
   - `./mvnw -pl parquet-hadoop -am -DskipITs 
-Dtest=TestParquetMetadataConverter -Dsurefire.failIfNoSpecifiedTests=false 
test`
   - `./mvnw -pl parquet-hadoop -am -DskipTests spotless:check`
   - `git diff --check`
   
   All passed.
   
   ## Notes
   
   - No competing open PR for #3574 was present during the final duplicate 
check.
   - AI assistance was used during development; the submitter reviewed the 
complete diff and is responsible for the change.
   
   Fixes #3574
   


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