zhongyujiang opened a new pull request, #7346: URL: https://github.com/apache/iceberg/pull/7346
…fields are required but nested in optional parents. Currently, `Binder` will simpify `isNull` and `notNull` to `alwaysFalse` and `alwaysTrue` respectively, when the expressions are to be bound to required fields. However a required field can still be null in the row when it is nested in an optional parent field. Therefore, this causes data to be incorrectly skipped when querying for rows where their nested field(required sub field nested in optional parent) is null. This changes the `Binder` to only simplify nullability predicates when their target field and all its parents are all required, to fix this issue. -- 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]
