-
Notifications
You must be signed in to change notification settings - Fork 460
[FIX] Empty lines or tabs inside SQL query of view definition will trigger redeployment of databricks_sql_table resource #3865 #4003
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
+31
−1
Conversation
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
Hi @p-venclovas, same here (#4001 (comment)), could you add an integration tests. |
nkvuong
approved these changes
Jul 8, 2025
@tanmay-db the existing integration test was modified to account for this change, so this should be good to go |
alexott
approved these changes
Jul 9, 2025
If integration tests don't run automatically, an authorized user can run them manually by following the instructions below: Trigger: Inputs:
Checks will be approved automatically on success. |
deco-sdk-tagging bot
added a commit
that referenced
this pull request
Jul 15, 2025
## Release v1.85.0 ### New Features and Improvements * Add `bearer_token` to the list of sensitive options in `databricks_connection` ([#4812](#4812)). * Use single-node cluster for `databricks_sql_permissions` ([#4813](#4813)). * Allow to retrieve service principal data by SCIM ID ([#3142](#3142)). * Add support for Lakebase `databricks_database_instance` in `databricks_permissions` ([#4824](#4824)). * Document new fields in `databricks_model_serving` and deprecate `invalid_keywords` and `valid_topics` in AI Gateway configuration ([#4851](#4851)). * Added support for Alert V2 in `databricks_permissions` ([#4831](#4831)). * Replace instead of dropping Delta `databricks_sql_table` ([#2424](#2424)). * Added `databricks_clean_rooms_clean_room` resource and data sources ([#4844](#4844)). * Added `databricks_external_metadata` resource and data sources ([#4844](#4844)). * Added `databricks_materialized_features_feature_tag` resource and data sources ([#4844](#4844)). * Improve `databricks_git_credential` resource by correctly handle new fields ([#4854](#4854)). ### Bug Fixes * Don't redeploy `databricks_sql_table` when view definition contains newlines or tabs ([#4003](#4003)). * Preserve `queue` setting for `databricks_job` resource when upgrading from provider version <1.71.0. * Fix updating of of `fallback_config` in `databricks_model_serving` ([#4830](#4830)). ### Documentation * Update documentation for single-node clusters in `databricks_cluster` resource ([#4817](#4817)). * Update GCP example for `databricks_external_location` resource ([#4826](#4826)) * Fix formatting for HTTP connection example in `databricks_connection` resource ([#4826](#4826)) * Document `encryption_details` block in `databricks_external_location` resource and data source ([#4849](#4849)) * Update Databricks SQL objects documentation ([#4840](#4840)) * Improve documentation for `databricks_git_credential` resource ([#4837](#4837)) * Rename DLT references to Lakeflow Declarative pipelines ([#4842](#4842)) * Update the list of UC permissions in UC guide for Azure ([#4852](#4852)). * Clarify and add more examples to `databricks_mws_network_connectivity_config` and `databricks_mws_ncc_private_endpoint_rule` documentation ([#4847](#4847)) * Document new attributes in `databricks_app` resource and data sources ([#4848](#4848)) ### Exporter * Fix generation of columns in `databricks_sql_table` resource ([#4819](#4819)). ### Internal Changes * Updated the contributing guide with instructions on how to modify the changelog ([#4404](#4404)). * Add synthetic field to jobs resource to control behavior of `apply_policy_default_values` ([#4834](#4834)). * Bump the Go SDK to v0.75.0 ([#4844](#4844)).
Sign up for free
to 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
Added formatting for new lines and tabs. This formatting is already applied on databricks side and it shows up when terraform read the state of view definition.
Tests
make test
run locally