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

   **Describe the bug**
   I have a SQL query that includes `CAST('2022-02-22' as DATE) + INTERVAL '30 
days'` and the `simplify_expression` optimizer rule attempts to evaluate this 
expression but panics because that is not supported.
   
   **To Reproduce**
   I am about to put up a PR with a test and a fix.
   
   **Expected behavior**
   The code should handle the error gracefully.
   
   **Additional context**
   None
   


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