Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-38437

Dynamic serialization of Java datetime objects to micros/days

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.3.0
    • 3.3.0
    • SQL
    • None

    Description

      Make serializers to micros/days more tolerant to input Java objects, and accept:

      • for timestamps: java.sql.Timestamp and java.time.Instant
      • for days: java.sql.Date and java.time.LocalDate

      This should make Spark SQL more reliable to user's and datasource inputs.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: