[ 
https://issues.apache.org/jira/browse/SPARK-46440?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated SPARK-46440:
-----------------------------------
    Labels: pull-request-available  (was: )

> Set the rebase configs to the CORRECTED mode by default
> -------------------------------------------------------
>
>                 Key: SPARK-46440
>                 URL: https://issues.apache.org/jira/browse/SPARK-46440
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 4.0.0
>            Reporter: Max Gekk
>            Assignee: Max Gekk
>            Priority: Major
>              Labels: pull-request-available
>
> Set all rebase related SQL configs to the `CORRECTED` mode by default. Here 
> are the affected configs:
> - spark.sql.parquet.int96RebaseModeInWrite
> - spark.sql.parquet.datetimeRebaseModeInWrite
> - spark.sql.parquet.int96RebaseModeInRead
> - spark.sql.parquet.datetimeRebaseModeInRead
> - spark.sql.avro.datetimeRebaseModeInWrite
> - spark.sql.avro.datetimeRebaseModeInRead
> The configs were set to the `EXCEPTION` mode to give users a choice to select 
> proper mode for compatibility with old Spark versions <= 2.4.5. Those 
> versions are not able to detect the rebase mode from meta information in 
> parquet and avro files. Since the versions are out of broad usage, Spark 
> starting from the version 4.0.0 will write/ read ancient datatime without 
> rebasing and any exceptions. This should be more convenient for users.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to