mhatipog opened a new issue, #19162: URL: https://github.com/apache/iceberg/issues/19162
`DeleteFileIndex` can discard an equality delete when its key is a field under an optional struct. A required child can still be null when an ancestor is null. Legacy ORC metrics can also report fewer values than the file's record count with a zero null count. For example, consider data rows with `parent = null` and `parent.child = 7`, and equality deletes with `parent = null` and `parent.child = 9`. The non-null bounds are disjoint, but the null keys can match. The scan must retain the delete file. The regression reproduces on upstream with Parquet (v2 and v3) and ORC (v2). Four additional core regression cases fail on upstream. With the proposed fix, both targeted suites pass (87 passed, 9 skipped), including cases where complete metrics still permit pruning. This is the equality-delete indexing follow-up to #19065. The scope is scan planning, not row-reader behavior. -- 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]
