Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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")