stevenzwu commented on code in PR #16692:
URL: https://github.com/apache/iceberg/pull/16692#discussion_r3597592401
##########
spark/v4.1/spark/src/test/java/org/apache/iceberg/spark/sql/TestFilterPushDown.java:
##########
@@ -647,6 +648,47 @@ public void testVariantExtractFiltering() {
});
}
+ @TestTemplate
+ public void testFilterPushdownOnInitialDefaultColumnAbsentFromFile() {
Review Comment:
> So in the case there's a nested field with a non-null default but the
ancestor is missing, and the filter only contains a predicate on this specific
nested field we end up applying the default value unconditionally rather than
using null as we should.
<img width="795" height="420" alt="image"
src="https://github.com/user-attachments/assets/771d2d33-9d02-47ad-9107-4fc8f11ccb85"
/>
We are talking about the first row from the spec. I am good with taking it
as a separate follow-up.
--
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]