amoghrajesh commented on code in PR #60000:
URL: https://github.com/apache/spark/pull/60000#discussion_r4624591504


##########
python/pyspark/sql/session.py:
##########
@@ -1990,6 +1989,47 @@ def table(self, tableName: str) -> DataFrame:
 
         return DataFrame(self._jsparkSession.table(tableName), self)
 
+    def getOrCreateDataFrame(self, path: str, create: Callable[[], DataFrame]) 
-> DataFrame:
+        """Returns the :class:`DataFrame` stored at ``path``, computing and 
storing it first if
+        it is not already there. The dataset is stored as Parquet.
+
+        .. versionadded:: 4.4.0

Review Comment:
   Can we try for 4.4 if there's still room, since it's small and classic only. 
If its too late, I am happy to move it to 4.5. Let me know what you think.



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