Uh oh!
There was an error while loading. Please reload this page.
Add support for schemas in deployment bind/unbind commands - #2406
Merged
Conversation
anton-107temporarily deployed
to
test-trigger-is
February 28, 2025 16:25 — with
GitHub Actions
Inactive
anton-107
marked this pull request as ready for review
February 28, 2025 16:43
anton-107
requested review from
andrewnester, denik, pietern and shreyas-goenka
as code ownersFebruary 28, 2025 16:43
pietern
reviewed
Mar 3, 2025
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
anton-107force-pushed
the
anton-107/bind-schema
branch
from
March 3, 2025 17:07
07ba443 to
916d12aCompareandrewnester
approved these changes
Mar 4, 2025
andrewnester added a commit
that referenced
this pull request
Mar 5, 2025
CLI: * Upgrade Go SDK to 0.59.0 ([#2425](#2425)). Bundles: * Added a warning when `config` section is used in apps ([#2416](#2416)). * Switch to use GET workspaces-files/{name} instead of workspace/export for state files to avoid 10MB limit ([#2423](#2423)). * Use schema field for pipeline in builtin template ([#2347](#2347)). * Add warning when variable interpolation is used for auth fields ([#2399](#2399)). * Add warning when include is used in config files other than databricks.yml ([#2389](#2389)). * Add support for schemas in deployment bind/unbind commands ([#2406](#2406)). * Do not modify/create .gitignore in bundle root ([#2429](#2429)). * Raise an error when there are multiple local libraries with the same basename used ([#2382](#2382)). * Upgrade TF provider to 1.68.0 ([#2426](#2426)). API Changes: * Changed `databricks experiments log-inputs` command with new required argument order. * Added `databricks genie get-space` command. * Added `databricks providers list-provider-share-assets` command. * Changed `databricks shares update-permissions` command return type to become non-empty. OpenAPI commit e5c870006a536121442cfd2441bdc8a5fb76ae1e (2025-03-03)
github-merge-queueBot
pushed a commit
that referenced
this pull request
Mar 5, 2025
CLI: * Upgrade Go SDK to 0.59.0 ([#2425](#2425)). Bundles: * Added a warning when `config` section is used in apps ([#2416](#2416)). * Switch to use GET workspaces-files/{name} instead of workspace/export for state files to avoid 10MB limit ([#2423](#2423)). * Use schema field for pipeline in builtin template ([#2347](#2347)). * Add warning when variable interpolation is used for auth fields ([#2399](#2399)). * Add warning when include is used in config files other than databricks.yml ([#2389](#2389)). * Add support for schemas in deployment bind/unbind commands ([#2406](#2406)). * Do not modify/create .gitignore in bundle root ([#2429](#2429)). * Raise an error when there are multiple local libraries with the same basename used ([#2382](#2382)). * Upgrade TF provider to 1.68.0 ([#2426](#2426)). API Changes: * Changed `databricks experiments log-inputs` command with new required argument order. * Added `databricks genie get-space` command. * Added `databricks providers list-provider-share-assets` command. * Changed `databricks shares update-permissions` command return type to become non-empty. OpenAPI commit e5c870006a536121442cfd2441bdc8a5fb76ae1e (2025-03-03)
denik pushed a commit
that referenced
this pull request
May 20, 2026
## 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.
denik pushed a commit
that referenced
this pull request
May 20, 2026
CLI: * Upgrade Go SDK to 0.59.0 ([#2425](#2425)). Bundles: * Added a warning when `config` section is used in apps ([#2416](#2416)). * Switch to use GET workspaces-files/{name} instead of workspace/export for state files to avoid 10MB limit ([#2423](#2423)). * Use schema field for pipeline in builtin template ([#2347](#2347)). * Add warning when variable interpolation is used for auth fields ([#2399](#2399)). * Add warning when include is used in config files other than databricks.yml ([#2389](#2389)). * Add support for schemas in deployment bind/unbind commands ([#2406](#2406)). * Do not modify/create .gitignore in bundle root ([#2429](#2429)). * Raise an error when there are multiple local libraries with the same basename used ([#2382](#2382)). * Upgrade TF provider to 1.68.0 ([#2426](#2426)). API Changes: * Changed `databricks experiments log-inputs` command with new required argument order. * Added `databricks genie get-space` command. * Added `databricks providers list-provider-share-assets` command. * Changed `databricks shares update-permissions` command return type to become non-empty. OpenAPI commit e5c870006a536121442cfd2441bdc8a5fb76ae1e (2025-03-03)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes
FindResourceByConfigKeyto return schema resourcesExistsmethod for schema resourcesWhy
This PR adds support for schema resources in deployment operations, enabling users to:
databricks bundle deployment bind <myschema_key> <schema_full_name>databricks bundle deployment unbind <myschema_key>Where:
myschema_keyis a resource key defined in the bundle's .yml fileschema_full_namereferences an existing schema in the Databricks workspaceThese 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.