cloud-fan commented on a change in pull request #34712:
URL: https://github.com/apache/spark/pull/34712#discussion_r756879827



##########
File path: 
sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/orc/OrcUtils.scala
##########
@@ -74,7 +74,7 @@ object OrcUtils extends Logging {
   def readSchema(file: Path, conf: Configuration, ignoreCorruptFiles: Boolean)
       : Option[TypeDescription] = {
     val fs = file.getFileSystem(conf)
-    val readerOptions = OrcFile.readerOptions(conf).filesystem(fs)
+    val readerOptions = 
OrcFile.readerOptions(conf).filesystem(fs).useUTCTimestamp(true)

Review comment:
       do we need this? it just read the footer to get the schema




-- 
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.

To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to