Description
Currently, Spark provides 2 SQL configs to control rebasing of dates/timestamps in Parquet and Avro datasource:
spark.sql.legacy.parquet.rebaseDateTime.enabled
spark.sql.legacy.avro.rebaseDateTime.enabled
The configs control rebasing in read and in write. That's can be inconvenient for users who want to read files saved by Spark 2.4 and earlier versions, and save dates/timestamps without rebasing.
The ticket aims to split the configs, and introduce separate SQL configs for read and for write.
Attachments
Issue Links
- relates to
-
SPARK-31159 Incompatible Parquet dates/timestamps with Spark 2.4
- Resolved
-
SPARK-31183 Incompatible Avro dates/timestamps with Spark 2.4
- Resolved
- links to