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



##########
File path: python/pyspark/sql/catalog.py
##########
@@ -65,6 +65,32 @@ def listDatabases(self):
                 locationUri=jdb.locationUri()))
         return databases
 
+    def databaseExists(self, dbName):
+        """Check if the database with the specified name exists.
+
+        .. versionadded:: 3.3.0
+
+        Parameters
+        ----------
+        dbName : str
+                 name of the database to check existence

Review comment:
       ```suggestion
                name of the database to check existence
   ```




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