pyspark.sql.Catalog.setCurrentDatabase

Catalog.setCurrentDatabase(dbName)[source]

Sets the current default database in this session.

New in version 2.0.