Skip to content

Commit 6bff940

Browse files
committed
Revert "[SPARK-3011][SQL] _temporary directory should be filtered out by sqlContext.parquetFile"
This reverts commit 221c84e.
1 parent 9622106 commit 6bff940

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

sql/core/src/main/scala/org/apache/spark/sql/parquet/ParquetTypes.scala

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -378,8 +378,7 @@ private[parquet] object ParquetTypesConverter extends Logging {
378378

379379
val children = fs.listStatus(path).filterNot { status =>
380380
val name = status.getPath.getName
381-
name(0) == '.' || name == FileOutputCommitter.SUCCEEDED_FILE_NAME ||
382-
name == FileOutputCommitter.TEMP_DIR_NAME
381+
name(0) == '.' || name == FileOutputCommitter.SUCCEEDED_FILE_NAME
383382
}
384383

385384
// NOTE (lian): Parquet "_metadata" file can be very slow if the file consists of lots of row

0 commit comments

Comments
 (0)