Skip to content

Commit 5780ef5

Browse files
committed
fix.
1 parent f70994c commit 5780ef5

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/csv/CSVDataSource.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ abstract class CSVDataSource extends Serializable {
112112
object CSVDataSource {
113113
def apply(options: CSVOptions): CSVDataSource = {
114114
if (options.multiLine) {
115-
WholeFileCSVDataSource
115+
MultiLineCSVDataSource
116116
} else {
117117
TextInputCSVDataSource
118118
}
@@ -197,7 +197,7 @@ object TextInputCSVDataSource extends CSVDataSource {
197197
}
198198
}
199199

200-
object WholeFileCSVDataSource extends CSVDataSource {
200+
object MultiLineCSVDataSource extends CSVDataSource {
201201
override val isSplitable: Boolean = false
202202

203203
override def readFile(

sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/json/JsonDataSource.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ abstract class JsonDataSource extends Serializable {
8787
object JsonDataSource {
8888
def apply(options: JSONOptions): JsonDataSource = {
8989
if (options.multiLine) {
90-
WholeFileJsonDataSource
90+
MultiLineJsonDataSource
9191
} else {
9292
TextInputJsonDataSource
9393
}
@@ -147,7 +147,7 @@ object TextInputJsonDataSource extends JsonDataSource {
147147
}
148148
}
149149

150-
object WholeFileJsonDataSource extends JsonDataSource {
150+
object MultiLineJsonDataSource extends JsonDataSource {
151151
override val isSplitable: Boolean = {
152152
false
153153
}

0 commit comments

Comments
 (0)