Yuanjian Li created SPARK-31408:
-----------------------------------

             Summary: Build Spark’s own Datetime patterns
                 Key: SPARK-31408
                 URL: https://issues.apache.org/jira/browse/SPARK-31408
             Project: Spark
          Issue Type: Umbrella
          Components: SQL
    Affects Versions: 3.0.0
            Reporter: Yuanjian Li


This is an umbrella ticket for building Spark's own Datetime patterns and 
related works.

In Spark version 2.4 and earlier, datetime parsing, formatting and conversion 
are performed by using the hybrid calendar (Julian + Gregorian).
Since the Proleptic Gregorian calendar is a de-facto calendar worldwide, as 
well as the chosen one in ANSI SQL standard, Spark 3.0 switches to it by using 
Java 8 API classes (the java.time packages that are based on ISO chronology ). 
The switching job is completed in SPARK-26651.
But after the switching, there are some patterns not compatible between Java 8 
and Java 7, Spark needs its own definition on the patterns rather than depends 
on Java API.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to