You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2020/03/06 22:46:10 UTC

[GitHub] [spark] dongjoon-hyun commented on a change in pull request #27839: [SPARK-25821][SQL][FOLLOW-UP] Add Back the Deprecated SQLContext methods

dongjoon-hyun commented on a change in pull request #27839: [SPARK-25821][SQL][FOLLOW-UP] Add Back the Deprecated SQLContext methods
URL: https://github.com/apache/spark/pull/27839#discussion_r389180456
 
 

 ##########
 File path: sql/core/src/main/scala/org/apache/spark/sql/SQLContext.scala
 ##########
 @@ -611,6 +611,289 @@ class SQLContext private[sql](val sparkSession: SparkSession)
     sessionState.catalog.listTables(databaseName).map(_.table).toArray
   }
 
+  ////////////////////////////////////////////////////////////////////////////
+  ////////////////////////////////////////////////////////////////////////////
+  // Deprecated methods
+  ////////////////////////////////////////////////////////////////////////////
+  ////////////////////////////////////////////////////////////////////////////
+
+  /**
+   * @deprecated As of 1.3.0, replaced by `createDataFrame()`.
+   */
+  @deprecated("Use createDataFrame instead.", "1.3.0")
 
 Review comment:
   Hi, @marmbrus and @srowen .
   Do you really need to keep `1.3.0` API?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org