Defining Databricks Databases
The following properties are applicable to a Databricks Database object.
|
Tab |
Property |
Description |
Additional Information |
|---|---|---|---|
| Name | Specifies the name of the database | ||
| If Not Exists | Specifies that if the database already exists, no exception is thrown, and no action happens | ||
| Generate | Specifies whether a DDL statement is generated for the database during forward engineering | ||
| General | Location | Specifies the directory path of the database | |
| DB Properties | Specifies a list of key-value pair that is used to define database properties | For example, Create database IF NOT EXISTS Customer_db WITH DBPROPERTIES (ID=001, Name='John'); creates a database with the following DB properties: ID='001', Name='John'. | |
|
Tags |
Specifies a list of tags used to search database |
For example, ALTER SCHEMA catalog_162.tag_162 SET TAGS ('schtag1' = 'val1', 'schtag2' = 'val2', 'schtag3' = 'val3'); This applies three metadata tags to the schema named tag_162 inside the catalog_162. |
|
| Owner Role | Specifies the owner role of the database | ||
| Owner User | Specifies the owner user of the database |
Was this helpful?