Github user raofu commented on a diff in the pull request: https://github.com/apache/spark/pull/22113#discussion_r210473687 --- Diff: sql/hive/src/main/scala/org/apache/spark/sql/hive/orc/OrcFileOperator.scala --- @@ -70,7 +70,7 @@ private[hive] object OrcFileOperator extends Logging { hdfsPath.getFileSystem(conf) } - listOrcFiles(basePath, conf).iterator.map { path => + listOrcFiles(basePath, conf).view.map { path => --- End diff -- My bad. I misread the code. Sorry about the noise.
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org