Skip to content

Commit 71331d8

Browse files
authored
1 parent a9ba5c0 commit 71331d8

File tree

15 files changed

+461
-18
lines changed

15 files changed

+461
-18
lines changed

.codegen/_openapi_sha

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
8f5eedbc991c4f04ce1284406577b0c92d59a224
1+
8b2cd47cbac64b32e120601110a5fc70b8189ba4

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,7 @@ cmd/workspace/volumes/volumes.go linguist-generated=true
168168
cmd/workspace/warehouses/warehouses.go linguist-generated=true
169169
cmd/workspace/workspace-bindings/workspace-bindings.go linguist-generated=true
170170
cmd/workspace/workspace-conf/workspace-conf.go linguist-generated=true
171+
cmd/workspace/workspace-entity-tag-assignments/workspace-entity-tag-assignments.go linguist-generated=true
171172
cmd/workspace/workspace-iam-v2/workspace-iam-v2.go linguist-generated=true
172173
cmd/workspace/workspace-settings-v2/workspace-settings-v2.go linguist-generated=true
173174
cmd/workspace/workspace/workspace.go linguist-generated=true

NEXT_CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111

1212
### Dependency updates
1313

14+
* Upgrade Go SDK to 0.93.0 ([#4112](https://github.com/databricks/cli/pull/4112))
1415
* Bump Go toolchain to 1.25.5.
1516

1617
### API Changes

acceptance/help/output.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,7 @@ Database Instances
147147

148148
Tags
149149
tag-policies The Tag Policy API allows you to manage policies for governed tags in Databricks.
150+
workspace-entity-tag-assignments Manage tag assignments on workspace-scoped objects.
150151

151152
Developer Tools
152153
bundle Databricks Asset Bundles let you express data/AI/analytics projects as code.

bundle/direct/dresources/dashboard.go

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,12 @@ func (r *ResourceDashboard) DoCreate(ctx context.Context, config *resources.Dash
214214

215215
createResp, err := r.client.Lakeview.Create(ctx, dashboards.CreateDashboardRequest{
216216
Dashboard: dashboard,
217+
218+
// Note: these remain unset until there is a TF release with support for these fields.
219+
DatasetCatalog: "",
220+
DatasetSchema: "",
221+
222+
ForceSendFields: nil,
217223
})
218224

219225
// The API returns 404 if the parent directory doesn't exist.
@@ -223,7 +229,15 @@ func (r *ResourceDashboard) DoCreate(ctx context.Context, config *resources.Dash
223229
if err != nil {
224230
return "", nil, fmt.Errorf("failed to create parent directory: %w", err)
225231
}
226-
createResp, err = r.client.Lakeview.Create(ctx, dashboards.CreateDashboardRequest{Dashboard: dashboard})
232+
createResp, err = r.client.Lakeview.Create(ctx, dashboards.CreateDashboardRequest{
233+
Dashboard: dashboard,
234+
235+
// Note: these remain unset until there is a TF release with support for these fields.
236+
DatasetCatalog: "",
237+
DatasetSchema: "",
238+
239+
ForceSendFields: nil,
240+
})
227241
}
228242
if err != nil {
229243
return "", nil, err
@@ -256,6 +270,12 @@ func (r *ResourceDashboard) DoUpdate(ctx context.Context, id string, config *res
256270
updateResp, err := r.client.Lakeview.Update(ctx, dashboards.UpdateDashboardRequest{
257271
DashboardId: id,
258272
Dashboard: dashboard,
273+
274+
// Note: these remain unset until there is a TF release with support for these fields.
275+
DatasetCatalog: "",
276+
DatasetSchema: "",
277+
278+
ForceSendFields: nil,
259279
})
260280
if err != nil {
261281
return nil, err

bundle/direct/dresources/synced_database_table.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ func (r *ResourceSyncedDatabaseTable) DoUpdate(ctx context.Context, id string, c
4747

4848
func (r *ResourceSyncedDatabaseTable) DoDelete(ctx context.Context, id string) error {
4949
return r.client.Database.DeleteSyncedDatabaseTable(ctx, database.DeleteSyncedDatabaseTableRequest{
50-
Name: id,
50+
Name: id,
51+
PurgeData: false,
52+
ForceSendFields: nil,
5153
})
5254
}

bundle/internal/schema/annotations_openapi.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -243,8 +243,7 @@ github.com/databricks/cli/bundle/config/resources.Cluster:
243243
"enable_elastic_disk":
244244
"description": |-
245245
Autoscaling Local Storage: when enabled, this cluster will dynamically acquire additional disk
246-
space when its Spark workers are running low on disk space. This feature requires specific AWS
247-
permissions to function correctly - refer to the User Guide for more details.
246+
space when its Spark workers are running low on disk space.
248247
"enable_local_disk_encryption":
249248
"description": |-
250249
Whether to enable LUKS on cluster VMs' local disks
@@ -1702,8 +1701,7 @@ github.com/databricks/databricks-sdk-go/service/compute.ClusterSpec:
17021701
"enable_elastic_disk":
17031702
"description": |-
17041703
Autoscaling Local Storage: when enabled, this cluster will dynamically acquire additional disk
1705-
space when its Spark workers are running low on disk space. This feature requires specific AWS
1706-
permissions to function correctly - refer to the User Guide for more details.
1704+
space when its Spark workers are running low on disk space.
17071705
"enable_local_disk_encryption":
17081706
"description": |-
17091707
Whether to enable LUKS on cluster VMs' local disks
@@ -4961,7 +4959,9 @@ github.com/databricks/databricks-sdk-go/service/sql.AlertV2Notification:
49614959
Whether to notify alert subscribers when alert returns back to normal.
49624960
"retrigger_seconds":
49634961
"description": |-
4964-
Number of seconds an alert must wait after being triggered to rearm itself. After rearming, it can be triggered again. If 0 or not specified, the alert will not be triggered again.
4962+
Number of seconds an alert waits after being triggered before it is allowed to send another notification.
4963+
If set to 0 or omitted, the alert will not send any further notifications after the first trigger
4964+
Setting this value to 1 allows the alert to send a notification on every evaluation where the condition is met, effectively making it always retrigger for notification purposes.
49654965
"subscriptions": {}
49664966
github.com/databricks/databricks-sdk-go/service/sql.AlertV2Operand:
49674967
"column": {}

bundle/schema/jsonschema.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

cmd/workspace/cmd.go

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

cmd/workspace/database/database.go

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)