mhatipog opened a new pull request, #19161: URL: https://github.com/apache/iceberg/pull/19161
Fixes #19160. A nested field's value count excludes rows with a null ancestor. When all present child values are NaN, `notNaN` must still retain the file if the value count is smaller than the record count. Apply the coverage check only to `notNaN`, rather than the shared `containsNaNsOnly` helper, so finite equality and other existing pruning are unaffected. The regression covers required and optional children, negated `isNaN`, all-NaN full coverage and finite equality pruning. The original implementation fails the regression; the shared-helper alternative fails the equality assertion. All three `TestInclusiveStatsEvaluator*` suites and `:iceberg-core:spotlessCheck` pass with this change, also with the patch applied to upstream `9d2bf51b`. Thanks to @timothyw553 for identifying this in the review of #19065. AI tools assisted with the implementation and test validation. -- 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]
