alamb commented on issue #3166:
URL: 
https://github.com/apache/arrow-datafusion/issues/3166#issuecomment-1215874142

   Since we are treating `Time` literals as `Nanosecond` precision, I agree 
@waitingkuo  that the output of `SUM()` and `AVG()` of `TIME` should be 
`Interval(MonthDayNano)` 👍 
   
   ```shell
   ❯ select arrow_typeof(cast('10:00:00' as time));
   +-----------------------------------------------------------+
   | arrowtypeof(CAST(Utf8("10:00:00") AS Time64(Nanosecond))) |
   +-----------------------------------------------------------+
   | Time64(Nanosecond)                                        |
   +-----------------------------------------------------------+
   1 row in set. Query took 0.038 seconds.
   ```


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