Github user marmbrus commented on a diff in the pull request:

    https://github.com/apache/spark/pull/5526#discussion_r29994955
  
    --- Diff: sql/core/src/main/scala/org/apache/spark/sql/SQLContext.scala ---
    @@ -783,6 +783,37 @@ class SQLContext(@transient val sparkContext: 
SparkContext)
     
       /**
        * :: Experimental ::
    +   * (Java-specific) Returns the dataset specified by the given data 
source and
    +   * a set of options as a DataFrame, using the given schema as the schema 
of the DataFrame.
    +   *
    +   * @group genericdata
    +   */
    +  @Experimental
    +  def load(
    +      source: String,
    +      schema: StructType,
    +      partitionColumns: Array[String],
    +      options: java.util.Map[String, String]): DataFrame = {
    +    load(source, schema, partitionColumns, options.toMap)
    +  }
    +
    +  /**
    +   * :: Experimental ::
    +   * (Scala-specific) Returns the dataset specified by the given data 
source and
    +   * a set of options as a DataFrame, using the given schema as the schema 
of the DataFrame.
    +   * @group genericdata
    +   */
    +  @Experimental
    +  def load(
    +      source: String,
    +      schema: StructType,
    +      options: Map[String, String]): DataFrame = {
    --- End diff --
    
    Oh I see, its just a weird diff since the other function below now has 
partition columns.


---
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 [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to