Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-26651 Use Proleptic Gregorian calendar
  3. SPARK-26593

Use Proleptic Gregorian calendar in casting UTF8String to date/timestamp types

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.4.0
    • Fix Version/s: 3.0.0
    • Component/s: SQL
    • Labels:
      None

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                maxgekk Maxim Gekk
                Reporter:
                maxgekk Maxim Gekk
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: