Abdullahsab3 opened a new issue, #10310:
URL: https://github.com/apache/datafusion/issues/10310

   ### Describe the bug
   
   When casting a string to a timestamp with time zone as an argument, I get 
the following error:
   
   ```
   
   Error while planning query: Internal error: binary_op should be handled by 
sql_expr_to_logical_expr..
   This was likely caused by a bug in DataFusion's code and we would welcome 
that you file an bug report in our issue tracker:
   ```
   
   
   
   
   
   ### To Reproduce
   
   The query that I used:
   
   ```
   select 
       date_bin(interval '1 hour', time at time zone 'Europe/Brussels') 
   from 
       raw_data 
   where 
       time >= '2019-03-27T22:00:00.000Z'::timestamp at time zone 
'Europe/Brussels'
   and 
       time <= '2025-03-26T00:00:00.000Z'::timestamp at time zone 
'Europe/Brussels'
   ```
   
   ### Expected behavior
   
   It should be casted correctly with no issues
   
   ### Additional context
   
   _No response_


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