Github user HyukjinKwon commented on a diff in the pull request:
https://github.com/apache/spark/pull/19844#discussion_r153763011
--- 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 --
not a big deal but just curious - why did you name it `fileNames` BTW? I
thought it's going to be just like `paths`.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]