Del via


setCurrentCatalog

Sets the current default catalog in this session.

Syntax

setCurrentCatalog(catalogName: str)

Parameters

Parameter Type Description
catalogName str Name of the catalog to set.

Examples

spark.catalog.setCurrentCatalog("spark_catalog")