PySpark referenceClassesCatalogsetCurrentCatalogOn this pagesetCurrentCatalog Sets the current default catalog in this session. Syntax setCurrentCatalog(catalogName: str) Parameters ParameterTypeDescriptioncatalogNamestrName of the catalog to set. Examples Pythonspark.catalog.setCurrentCatalog("spark_catalog")