Skip to content

Commit 063a565

Browse files
committed
Remove unrelated changes
1 parent 2195dbe commit 063a565

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/execution/datasources/csv/CSVFileFormat.scala

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ class CSVFileFormat extends TextBasedFileFormat with DataSourceRegister {
5353
val csvOptions = new CSVOptions(options)
5454

5555
// TODO: Move filtering.
56-
val paths = files.filterNot(_.getPath.getName.startsWith("_")).map(_.getPath.toString)
56+
val paths = files.filterNot(_.getPath.getName startsWith "_").map(_.getPath.toString)
5757
val rdd = baseRdd(sparkSession, csvOptions, paths)
5858
val firstLine = findFirstLine(csvOptions, rdd)
5959
val firstRow = new CsvReader(csvOptions).parseLine(firstLine)
@@ -76,7 +76,6 @@ class CSVFileFormat extends TextBasedFileFormat with DataSourceRegister {
7676
}
7777
StructType(schemaFields)
7878
}
79-
8079
Some(schema)
8180
}
8281

0 commit comments

Comments
 (0)