Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-31404 file source backward compatibility after calendar switch
  3. SPARK-33163

Check the metadata key 'org.apache.spark.legacyDateTime' in Avro/Parquet files

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.1.0
    • 3.0.2, 3.1.0
    • SQL
    • None

    Description

      Add tests to check that the metadata key 'org.apache.spark.legacyDateTime' is saved correctly depending on the SQL configs:

      1. spark.sql.legacy.avro.datetimeRebaseModeInWrite
      2. spark.sql.legacy.parquet.datetimeRebaseModeInWrite

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: