File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
sql/core/src/main/scala/org/apache/spark/sql/execution/datasources Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ abstract class CSVDataSource extends Serializable {
112112object 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 (
Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ abstract class JsonDataSource extends Serializable {
8787object 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 }
You can’t perform that action at this time.
0 commit comments