pyspark.sql.Catalog.listDatabases

Catalog.listDatabases()[source]

Returns a list of databases available across all sessions.

New in version 2.0.