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 2022/12/03 00:25:05 UTC

[GitHub] [spark] xinrong-meng commented on a diff in pull request #38891: [SPARK-41372][CONNECT][PYTHON] Implement DataFrame TempView

xinrong-meng commented on code in PR #38891:
URL: https://github.com/apache/spark/pull/38891#discussion_r1038646021


##########
python/pyspark/sql/connect/dataframe.py:
##########
@@ -1554,6 +1554,48 @@ def explain(
         """
         print(self._explain_string(extended=extended, mode=mode))
 
+    def createTempView(self, name: str) -> None:
+        """Creates a local temporary view with this :class:`DataFrame`.
+
+        The lifetime of this temporary table is tied to the :class:`SparkSession`
+        that was used to create this :class:`DataFrame`.
+        throws :class:`TempTableAlreadyExistsException`, if the view name already exists in the
+        catalog.
+
+        .. versionadded:: 2.0.0

Review Comment:
   3.4.0?



-- 
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-unsubscribe@spark.apache.org

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


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