paul-rogers commented on pull request #2268:
URL: https://github.com/apache/drill/pull/2268#issuecomment-886014747


   @dzamo, makes sense. Let's at least get a few good tests for this case, then 
we can declare victory.
   
   Note that zoneless times (DATE, TIME) should *never* be UTC, they are always 
local by definition. They are the reason (I presume) that Drill treats 
timestamps as local time: so we can convert between DATE, TIME and TIMESTAMP. 
   
   What Drill needs to clean up this mess is a UTC_TIMESTAMP type. There are 
suggestions in the code that the original team wanted to add a "zoned 
timestamp" type. But, such a monster would be too cumbersome for common use 
since, typically, any given column has a known timezone or, more likely in 
modern times, is in UTC.


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