Get the database (namespace) with the specified name (can be qualified with catalog). This throws an AnalysisException when the database (namespace) cannot be found.
The name of the database to get.
A Promise that resolves with the database.
Check if the database with the specified name exists.
The name of the database to check.
A Promise that resolves with a boolean indicating if the database exists.
OptionaltableName: string
Catalog interface for Spark. To access this, use
SparkSession.catalog.Since
1.0.0
Author
Kent Yao yao@apache.org
Example