pyspark.sql.Catalog.listDatabases

Catalog.listDatabases() → List[pyspark.sql.catalog.Database][source]

Returns a list of databases available across all sessions.

New in version 2.0.