File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
main/scala/org/apache/spark/sql/catalyst/expressions
test/scala/org/apache/spark/sql/catalyst/csv Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -78,8 +78,7 @@ case class CsvToStructs(
7878 @ transient
7979 lazy val converter = (rows : Iterator [InternalRow ]) => {
8080 if (rows.hasNext) {
81- rows.next()
82- val result = rows.next
81+ val result = rows.next()
8382 // CSV's parser produces one record only.
8483 assert(! rows.hasNext)
8584 result
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ package org.apache.spark.sql.catalyst.csv
1919
2020import org .apache .spark .SparkFunSuite
2121
22- class CSVExpressionUtilsSuite extends SparkFunSuite {
22+ class CSVExprUtilsSuite extends SparkFunSuite {
2323 test(" Can parse escaped characters" ) {
2424 assert(CSVExprUtils .toChar(""" \t""" ) === '\t ' )
2525 assert(CSVExprUtils .toChar(""" \r""" ) === '\r ' )
You can’t perform that action at this time.
0 commit comments