adiranjan25 commented on issue #19191:
URL: https://github.com/apache/iceberg/issues/19191#issuecomment-7263612136

   Thanks @Yibo-Dong for reporting this issue and providing a clear 
reproduction with a non-pushdown control.
   
   I'd like to investigate and contribute a fix for this correctness issue.
   
   My initial plan is to:
   
   - Reproduce the reported behavior on the latest upstream main using Spark 
3.5.
   - Investigate the ORC predicate conversion and stripe-level filtering logic, 
particularly the handling of all-NULL columns under IS DISTINCT FROM.
   - Identify where the pushed-down predicate diverges from Iceberg's expected 
null semantics.
   - Evaluate the impact on SELECT, UPDATE, and DELETE operations.
   - Add targeted regression tests covering all-NULL, mixed-NULL, and non-NULL 
values, with Parquet as a comparison where appropriate.
   - Ensure the fix preserves existing predicate pushdown optimizations without 
introducing incorrect pruning.
   
   I'll share my root-cause findings before finalizing the implementation if 
any design considerations require community feedback.
   
   Please let me know if anyone is already working on this or if there are 
related changes I should consider.
   
   Thank you!


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