adriangb opened a new pull request, #17521:
URL: https://github.com/apache/datafusion/pull/17521

   ## Summary
   - Fix "Uncomparable values" error when push_down_filter optimizer tries to 
compare incompatible types during predicate simplification
   - Handle the case where scalar values with incompatible types (e.g., 
TimestampMicrosecond vs Time64Nanosecond) cannot be compared
   - Catch comparison errors in `find_most_restrictive_predicate` and return 
`None` to indicate predicate simplification cannot proceed
   - Add regression test for the issue
   
   ## Test plan
   - [x] Added regression test that reproduces the original issue and verifies 
the fix
   - [x] Test passes with the fix and would fail without it
   - [x] Existing tests continue to pass
   
   Fixes #17512
   
   🤖 Generated with [Claude Code](https://claude.ai/code)


-- 
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: github-unsubscr...@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org
For additional commands, e-mail: github-h...@datafusion.apache.org

Reply via email to