HyukjinKwon commented on a change in pull request #33388:
URL: https://github.com/apache/spark/pull/33388#discussion_r671133641



##########
File path: python/pyspark/sql/catalog.py
##########
@@ -133,6 +133,17 @@ def listColumns(self, tableName, dbName=None):
                 isBucket=jcolumn.isBucket()))
         return columns
 
+    @since(3.2)
+    def tableExists(self, tableName, dbName=None):
+        """Check if the table or view with the specified name exists.

Review comment:
       (don't forgot to add examples for doctests)




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