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

    https://github.com/apache/spark/pull/5804#discussion_r29412424
  
    --- Diff: sql/core/src/main/scala/org/apache/spark/sql/SQLContext.scala ---
    @@ -429,20 +429,6 @@ class SQLContext(@transient val sparkContext: 
SparkContext)
       }
     
       /**
    -   * Creates a [[DataFrame]] from an [[JavaRDD]] containing [[Row]]s by 
applying
    -   * a seq of names of columns to this RDD, the data type for each column 
will
    -   * be inferred by the first row.
    -   *
    -   * @param rowRDD an JavaRDD of Row
    -   * @param columns names for each column
    -   * @return DataFrame
    -   * @group dataframes
    -   */
    -  def createDataFrame(rowRDD: JavaRDD[Row], columns: 
java.util.List[String]): DataFrame = {
    -    createDataFrame(rowRDD.rdd, columns.toSeq)
    --- End diff --
    
    sure? rowRDD.rdd is RDD[Row], it will call self?


---
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