Github user koertkuipers commented on a diff in the pull request: https://github.com/apache/spark/pull/8416#discussion_r42308755 --- Diff: sql/core/src/main/scala/org/apache/spark/sql/DataFrameReader.scala --- @@ -123,6 +124,24 @@ class DataFrameReader private[sql](sqlContext: SQLContext) extends Logging { } /** + * Loads input in as a [[DataFrame]], for data sources that support multiple paths. + * Only works if the source is a HadoopFsRelationProvider. + * + * @since 1.6.0 + */ + def load(paths: Seq[String]): DataFrame = { --- End diff -- That makes sense.... Since it works for java too that eay On Oct 17, 2015 7:14 AM, "Michael Armbrust" <notificati...@github.com> wrote: > In sql/core/src/main/scala/org/apache/spark/sql/DataFrameReader.scala > <https://github.com/apache/spark/pull/8416#discussion_r42274201>: > > > @@ -123,6 +124,24 @@ class DataFrameReader private[sql](sqlContext: SQLContext) extends Logging { > > } > > > > /** > > + * Loads input in as a [[DataFrame]], for data sources that support multiple paths. > > + * Only works if the source is a HadoopFsRelationProvider. > > + * > > + * @since 1.6.0 > > + */ > > + def load(paths: Seq[String]): DataFrame = { > > This should be just a single load(paths: Array[String]) as in other parts > of the API. > > â > Reply to this email directly or view it on GitHub > <https://github.com/apache/spark/pull/8416/files#r42274201>. >
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org