Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fix
  • Loading branch information
gatorsmile committed Jun 28, 2016
commit bf1c9b5007f2054e5ff6ae9cbb2dc039706e9949
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ class DataFrameReader private[sql](sparkSession: SparkSession) extends Logging {
* @since 1.4.0
*/
def load(path: String): DataFrame = {
option("path", path).load(Seq(path): _*) // force invocation of `load(...varargs...)`
option("path", path).load(Seq.empty: _*) // force invocation of `load(...varargs...)`
}

/**
Expand Down