Skip to content

Commit

Permalink
fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
gatorsmile committed Jun 5, 2017
1 parent f70994c commit 5780ef5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ abstract class CSVDataSource extends Serializable {
object CSVDataSource {
def apply(options: CSVOptions): CSVDataSource = {
if (options.multiLine) {
WholeFileCSVDataSource
MultiLineCSVDataSource
} else {
TextInputCSVDataSource
}
Expand Down Expand Up @@ -197,7 +197,7 @@ object TextInputCSVDataSource extends CSVDataSource {
}
}

object WholeFileCSVDataSource extends CSVDataSource {
object MultiLineCSVDataSource extends CSVDataSource {
override val isSplitable: Boolean = false

override def readFile(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ abstract class JsonDataSource extends Serializable {
object JsonDataSource {
def apply(options: JSONOptions): JsonDataSource = {
if (options.multiLine) {
WholeFileJsonDataSource
MultiLineJsonDataSource
} else {
TextInputJsonDataSource
}
Expand Down Expand Up @@ -147,7 +147,7 @@ object TextInputJsonDataSource extends JsonDataSource {
}
}

object WholeFileJsonDataSource extends JsonDataSource {
object MultiLineJsonDataSource extends JsonDataSource {
override val isSplitable: Boolean = {
false
}
Expand Down

0 comments on commit 5780ef5

Please sign in to comment.