[
https://issues.apache.org/jira/browse/SPARK-27357?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Maxim Gekk updated SPARK-27357:
-------------------------------
Summary: Cast timestamps to/from dates independently from time zones (was:
Convert timestamps to/from dates independently from time zones)
> Cast 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
> Priority: Minor
>
> 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]