zhengruifeng commented on code in PR #41311:
URL: https://github.com/apache/spark/pull/41311#discussion_r1209973491
##########
python/pyspark/sql/catalog.py:
##########
@@ -119,11 +119,16 @@ def setCurrentCatalog(self, catalogName: str) -> None:
"""
return self._jcatalog.setCurrentCatalog(catalogName)
- def listCatalogs(self) -> List[CatalogMetadata]:
+ def listCatalogs(self, pattern: Optional[str] = None) ->
List[CatalogMetadata]:
"""Returns a list of catalogs in this session.
.. versionadded:: 3.4.0
+ Parameters
+ ----------
+ pattern : str
+ The pattern that the catalog name needs to match.
Review Comment:
please add a `versionadded` for this new parameter
--
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]