cloud-fan commented on a change in pull request #27915: [WIP][SPARK-31159][SQL] Rebase date/timestamp from/to Julian calendar in parquet URL: https://github.com/apache/spark/pull/27915#discussion_r393161737
########## File path: sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/parquet/ParquetFileFormat.scala ########## @@ -136,6 +136,10 @@ class ParquetFileFormat s"Set Parquet option ${ParquetOutputFormat.JOB_SUMMARY_LEVEL} to NONE.") } + conf.set( + SQLConf.LEGACY_PARQUET_REBASE_DATETIME.key, Review comment: Can we use `SQLConf.get` in the place we need to read the config directly? It can simplify the code. ---------------------------------------------------------------- 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: us...@infra.apache.org With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org