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


##########
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:
   Updated.
   
   I didn't update it was because this API is added from `3.4.0` for Connect 
but deprecated since `3.4.0`, which becomes a bit confusing.



-- 
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: reviews-unsubscr...@spark.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


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

Reply via email to