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

Use Proleptic Gregorian calendar in creation of Timestamp/Date literals from strings

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.4.0
    • 3.0.0
    • SQL
    • None

    Description

      Currently the Literal.fromString method uses Date.valueOf and Timestamp.valueOf to parse a string and create Timestamp/Date literals. The ticket aims to switch the method on java.time classes for parsing. A solution could be using TimestampFormatter & DateFormatter.

      Attachments

        Activity

          People

            maxgekk Max Gekk
            maxgekk Max Gekk
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: