Maxim Gekk created SPARK-27357:
----------------------------------
Summary: Convert timestamps to/from dates independently from time
zones
Key: SPARK-27357
URL: https://issues.apache.org/jira/browse/SPARK-27357
Project: Spark
Issue Type: Improvement
Components: SQL
Affects Versions: 2.4.0
Reporter: Maxim Gekk
Both Catalyst's types TIMESTAMP and DATE internally represent time intervals
since epoch in UTC time zone. The TIMESTAMP type contains number of
microseconds since epoch, and DATE is number of days since epoch (00:00:00 1
January 1970). As a consequence of that, the conversion should be independent
from session or local time zone. The ticket aims to fix current behavior and
makes the conversion independent from time zones.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]