You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Maxim Gekk (JIRA)" <ji...@apache.org> on 2019/04/09 21:01:00 UTC

[jira] [Created] (SPARK-27422) CurrentDate should return local date

Maxim Gekk created SPARK-27422:
----------------------------------

             Summary: CurrentDate should return local date
                 Key: SPARK-27422
                 URL: https://issues.apache.org/jira/browse/SPARK-27422
             Project: Spark
          Issue Type: Improvement
          Components: SQL
    Affects Versions: 3.0.0
            Reporter: Maxim Gekk


According to SQL standard, DATE type is union of (year, month, days), and current date should return a triple of (year, month, days) in session local time zone. The ticket aims to follow the requirement, and calculate a local date for session time zone. The local date should be converted to epoch day, and stored internally in as DATE value.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org