SqlGlobalConfig
laktory.models.resources.databricks.SqlGlobalConfig
¤
Bases: SqlGlobalConfigBase
Databricks SQL global configuration
Workspace-wide configuration of SQL warehouses: data access properties, security policy, instance profile and SQL configuration parameters. Workspace singleton; changes restart running SQL warehouses.
Examples:
import io
from laktory import models
config_yaml = '''
security_policy: DATA_ACCESS_CONTROL
sql_config_params:
ANSI_MODE: 'true'
'''
config = models.resources.databricks.SqlGlobalConfig.model_validate_yaml(
io.StringIO(config_yaml)
)
| BASE | DESCRIPTION |
|---|---|
data_access_config
|
Data access configuration for databricks_sql_endpoint, such as configuration for an external Hive metastore, Hadoop Filesystem configuration, etc. Please note that the list of supported configuration properties is limited, so refer to the documentation for a full list. Apply will fail if you're specifying not permitted configuration
TYPE:
|
enable_serverless_compute
|
TYPE:
|
google_service_account
|
used to access GCP services, such as Cloud Storage, from databricks_sql_endpoint. Please note that this parameter is only for GCP, and will generate an error if used on other clouds
TYPE:
|
instance_profile_arn
|
databricks_instance_profile used to access storage from databricks_sql_endpoint. Please note that this parameter is only for AWS, and will generate an error if used on other clouds
TYPE:
|
security_policy
|
The policy for controlling access to datasets. Default value:
TYPE:
|
sql_config_params
|
SQL Configuration Parameters let you override the default behavior for all sessions with all endpoints
TYPE:
|
| ATTRIBUTE | DESCRIPTION |
|---|---|
resource_key |
Singleton: named after the resource type
TYPE:
|
resource_key
property
¤
Singleton: named after the resource type