Skip to content

Commit c7e44f2

Browse files
committed
match syntax
1 parent f8fc32a commit c7e44f2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,8 @@ private[parquet] object ParquetTypesConverter extends Logging {
375375

376376
val children = fs.listStatus(path).filterNot { status =>
377377
val name = status.getPath.getName
378-
name(0) == '.' || name == FileOutputCommitter.SUCCEEDED_FILE_NAME || FileOutputCommitter.TEMP_DIR_NAME
378+
name(0) == '.' || name == FileOutputCommitter.SUCCEEDED_FILE_NAME ||
379+
name == FileOutputCommitter.TEMP_DIR_NAME
379380
}
380381

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

0 commit comments

Comments
 (0)