andygrove opened a new issue, #5093:
URL: https://github.com/apache/arrow-datafusion/issues/5093

   **Describe the bug**
   
   For conditional expressions, we currently evaluate both the true and false 
expressions, which can lead to correctness issues.
   
   For example, we cannot run this valid query.
   
   ```
   ❯ select case when x is null then 42 else x * x end  from (select null as x);
   ArrowError(ExternalError(Internal("Data type Null not supported for binary 
operation 'multiply' on primitive arrays")))
   ```
   
   **To Reproduce**
   
   
   **Expected behavior**
   
   
   **Additional context**
   
   


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