Schema
laktory.models.resources.databricks.Schema
¤
Bases: BaseModel
, PulumiResource
, TerraformResource
A schema (also called a database) is the second layer of Unity Catalog’s three-level namespace. A schema organizes tables and views.
ATTRIBUTE | DESCRIPTION |
---|---|
catalog_name |
Name of the catalog storing the schema |
comment |
Text description of the catalog |
force_destroy |
If
TYPE:
|
grants |
List of grants operating on the schema
TYPE:
|
isolation_mode |
Whether the catalog is accessible from all workspaces or a specific set of workspaces. Can be ISOLATED or OPEN. Setting the catalog to ISOLATED will automatically allow access from the current workspace.
|
name |
Name of the catalog
TYPE:
|
tables |
List of tables stored in the schema |
volumes |
List of volumes stored in the schema |
Examples:
from laktory import models
schema = models.resources.databricks.Schema(
catalog_name="dev",
name="engineering",
grants=[{"principal": "domain-engineering", "privileges": ["SELECT"]}],
)
References
ATTRIBUTE | DESCRIPTION |
---|---|
parent_full_name |
Catalog full name
TYPE:
|
full_name |
Schema full name
TYPE:
|
resource_key |
Schema full name (catalog.schema)
TYPE:
|
additional_core_resources |
TYPE:
|