alamb opened a new pull request #1181:
URL: https://github.com/apache/arrow-datafusion/pull/1181


   # Which issue does this PR close?
   
   Fixes https://github.com/apache/arrow-datafusion/issues/1179
   
    # Rationale for this change
   Binary operations  to literal NULL don't work in DataFusion. While seemingly 
a corner case, we sometimes generate such predicates during rewrites in IOx 
making supporting such expressions important.
   
   
   # What changes are included in this PR?
   1. Add special cast handling for null `ScalarValues`
   2. Add tests
   
   # Are there any user-facing changes?
   Fewer errors, no breaking changes
   
   TODO: 
   - [ ] add tests for null = null, null != null, in sql layer.
   - [ ] add values casting tests
   - [ ] File arrow-rs ticket about underflow when subtracting from null array
   - [ ] File tickets for supporting null constants in other exprs (like in 
function call parameters, CASE, etc)
   


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


Reply via email to