Maxim Gekk created SPARK-26593:
----------------------------------

             Summary: Use Proleptic Gregorian calendar in casting UTF8String to 
date/timestamp types
                 Key: SPARK-26593
                 URL: https://issues.apache.org/jira/browse/SPARK-26593
             Project: Spark
          Issue Type: Improvement
          Components: SQL
    Affects Versions: 2.4.0
            Reporter: Maxim Gekk


Current implementation of casting UTF8String to DateType/TimestampType uses 
hybrid calendar (Gregorian + Julian). The ticket aims to unify conversion of 
textual date/timestamp representation to DateType/TimestampType and use 
Proleptic Gregorian calendar. More precisely, need to port stringToTimestamp 
and stringToDate on java.time of Java 8 API.



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

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

Reply via email to