Github user mgaido91 commented on a diff in the pull request: https://github.com/apache/spark/pull/19844#discussion_r153766590 --- Diff: sql/hive/src/main/scala/org/apache/spark/sql/hive/orc/OrcFileFormat.scala --- @@ -59,8 +59,9 @@ class OrcFileFormat extends FileFormat with DataSourceRegister with Serializable sparkSession: SparkSession, options: Map[String, String], files: Seq[FileStatus]): Option[StructType] = { + val fileNames = files.map(_.getPath.toString) --- End diff -- because they are `String` and not `Path`s. Actually this change is not needed, I changed it only because it was easier for me while debugging. I can put it back as it was before.
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org