velvia commented on issue #686:
URL: 
https://github.com/apache/arrow-datafusion/issues/686#issuecomment-881794904


   To add to the above list, to_timestamp(string) should really return a 
Timestamp Scalar with the proper timezone derived from parsing the string.  
Currently no TZ info is returned, but for example if the date time string has 
"Z" in it, then the resulting scalar timezone should be "UTC".   
   
   The bigger question really is how much effort to pour into all this.  Since 
the other Arrow implementations and the Arrow spec already specifies TimeZone, 
and due to many issues mentioned above, it seems to me that at least we should 
try to get notion of UTC vs local time zone, and be able to maintain that 
distinction, correctly.  IE, Rust DataFusion should IMHO have first class 
support of both `Timestamp(_, None)` as well as `Timestamp(_, UTC)`, everywhere.


-- 
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...@arrow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to