cloud-fan commented on issue #28137: [SPARK-31361][SQL] Rebase datetime in 
parquet/avro according to file written Spark version
URL: https://github.com/apache/spark/pull/28137#issuecomment-610211543
 
 
   @MaxGekk It's always an option to ask users to upgrade software if some bugs 
are not fixed in earlier versions. For example, if Spark 3.0 writes Parquet 
files and Spark 2.4 may read wrong data, we can ask them to upgrade to Spark 
3.0. Forward compatibility is not officially supported.
   
   On the other hand, if Spark 2.4 writes Parquet files and Spark 3.0 may read 
wrong data, asking users to downgrade is not a good option. This PR tries to 
improve backward compatibility by rebasing datetime more smartly: don't rely on 
the config if the file written Spark version is known. I think it's more 
important than forward compatibility.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

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

Reply via email to