pyspark.sql.Catalog.currentCatalog

Catalog.currentCatalog() → str

Returns the current default catalog in this session.

Examples

>>> spark.catalog.currentCatalog()
'spark_catalog'