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. |
||
---|---|---|
.. | ||
convert.go | ||
convert_experiment.go | ||
convert_experiment_test.go | ||
convert_grants.go | ||
convert_grants_test.go | ||
convert_job.go | ||
convert_job_test.go | ||
convert_model.go | ||
convert_model_serving_endpoint.go | ||
convert_model_serving_endpoint_test.go | ||
convert_model_test.go | ||
convert_permissions.go | ||
convert_permissions_test.go | ||
convert_pipeline.go | ||
convert_pipeline_test.go | ||
convert_quality_monitor.go | ||
convert_quality_monitor_test.go | ||
convert_registered_model.go | ||
convert_registered_model_test.go | ||
convert_schema.go | ||
convert_schema_test.go | ||
rename_keys.go |