mirror of https://github.com/databricks/cli.git
89c0af5bdc
## Changes This PR adds support for UC Schemas to DABs. This allows users to define schemas for tables and other assets their pipelines/workflows create as part of the DAB, thus managing the life-cycle in the DAB. The first version has a couple of intentional limitations: 1. The owner of the schema will be the deployment user. Changing the owner of the schema is not allowed (yet). `run_as` will not be restricted for DABs containing UC schemas. Let's limit the scope of run_as to the compute identity used instead of ownership of data assets like UC schemas. 2. API fields that are present in the update API but not the create API. For example: enabling predictive optimization is not supported in the create schema API and thus is not available in DABs at the moment. ## Tests Manually and integration test. Manually verified the following work: 1. Development mode adds a "dev_" prefix. 2. Modified status is correctly computed in the `bundle summary` command. 3. Grants work as expected, for assigning privileges. 4. Variable interpolation works for the schema ID. |
||
---|---|---|
.. | ||
debug | ||
deployment | ||
generate | ||
utils | ||
bundle.go | ||
debug.go | ||
deploy.go | ||
destroy.go | ||
generate.go | ||
init.go | ||
init_test.go | ||
launch.go | ||
run.go | ||
schema.go | ||
summary.go | ||
sync.go | ||
test.go | ||
validate.go | ||
variables.go |