mirror of https://github.com/databricks/cli.git
## Changes 1. Changed `FindResourceByConfigKey` to return schema resources 2. Implemented the `Exists` method for schema resources ## Why This PR adds support for schema resources in deployment operations, enabling users to: - Bind schemas using `databricks bundle deployment bind <myschema_key> <schema_full_name>` - Unbind schemas using `databricks bundle deployment unbind <myschema_key>` Where: - `myschema_key` is a resource key defined in the bundle's .yml file - `schema_full_name` references an existing schema in the Databricks workspace These capabilities allow for more flexible resource management of schemas within bundles. ## Tests Added a new integration test that tests bind and unbind methods together with bundle deployment and destruction. |
||
---|---|---|
.. | ||
generate | ||
loader | ||
mutator | ||
resources | ||
validate | ||
variable | ||
artifact.go | ||
artifacts_test.go | ||
bundle.go | ||
deployment.go | ||
experimental.go | ||
filename.go | ||
filename_test.go | ||
git.go | ||
lock.go | ||
lock_test.go | ||
presets.go | ||
resources.go | ||
resources_test.go | ||
root.go | ||
root_test.go | ||
sync.go | ||
target.go | ||
workspace.go | ||
workspace_test.go |