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

   ### Describe the bug
   
   Running
   
   ```sql
   select now() - start_timestamp from records limit 5;
   ```
   
   Results in an error:
   
   ```
   Cannot coerce arithmetic expression Timestamp(Nanosecond, Some("+00:00")) - 
Timestamp(Microsecond, Some("UTC")) to valid types
   ```
   
   As far as I know UTC is alwasy identical to `+00:00` so these two should be 
considered equivilant?
   
   ### To Reproduce
   
   _No response_
   
   ### Expected behavior
   
   Timezones which are practically equivalent — e.g. have the same offset and 
DST semantics should allow subtraction to get an interval.
   
   ### 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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to