alamb commented on issue #3964:
URL: https://github.com/apache/arrow-rs/issues/3964#issuecomment-1494660009

   > Yes, the issue is most DB's (and SQL itself) simply use the timestamp - 
timestamp = interval pattern. However, from our perspective using durations is 
fine as long as there is casting/coercing mechanism to take care of the 
transformation cheaply.
   
   I think the core problem is clear distinction between "duration" and 
"interval" that is made in Arrow and Rust is not found in SQL (e.g. there is no 
SQL duration type). The coercion / casting logic in DataFusion I think is the 
right place to reconcile the various Arrow types (Intervals with different time 
units, durations with different time units)


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