HyukjinKwon commented on code in PR #40167:
URL: https://github.com/apache/spark/pull/40167#discussion_r1117842681


##########
connector/connect/client/jvm/src/main/scala/org/apache/spark/sql/Dataset.scala:
##########
@@ -1906,6 +1906,100 @@ class Dataset[T] private[sql] (val session: 
SparkSession, private[sql] val plan:
     }
   }
 
+  /**
+   * Registers this Dataset as a temporary table using the given name. The 
lifetime of this
+   * temporary table is tied to the [[SparkSession]] that was used to create 
this Dataset.
+   *
+   * @group basic
+   * @since 3.4.0
+   */
+  @deprecated("Use createOrReplaceTempView(viewName) instead.", "2.0.0")

Review Comment:
   BTW .. we should probably grep and replace these versions in deprecation 
(2.0.0 in this case) to 3.4.0  .. of course I don't mind doing separately.



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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to