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: [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]