pyspark.sql.Catalog.setCurrentDatabase

Catalog.setCurrentDatabase(dbName: str) → None

Sets the current default database in this session.