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.
Returns the current default database in this session.
Syntax
currentDatabase()
Returns
str
The current default database name.
Examples
spark.catalog.currentDatabase()
# 'default'