Skip to content

Add support for configurable catalog/schema for dashboards - #4130

Merged
pietern merged 11 commits into
databricks:mainfrom
leonli33-databricks:default-catalog-schema
Dec 18, 2025
Merged

Add support for configurable catalog/schema for dashboards#4130
pietern merged 11 commits into
databricks:mainfrom
leonli33-databricks:default-catalog-schema

Conversation

@leonli33-databricks

@leonli33-databricksleonli33-databricks commented Dec 11, 2025

Copy link
Copy Markdown
Contributor

Changes

Support passing the dataset_catalog and dataset_schema fields for dashboards.

Example:

resources:
dashboards:
my_dashboard:
display_name: NYC Taxi
warehouse_id: ${var.sql_warehouse_id}
file_path: "sample-dashboard.lvdash.json"
embed_credentials: true
# Sets the default catalog/schema for all datasets in this dashboard.
# Does not impact table references that use fully qualified catalog names (ex: samples.nyctaxi.trips).
# Leave blank to keep each dataset’s existing configuration.
dataset_catalog: main
dataset_schema: default

Tests

New acceptance tests.

RecordRequests = true

[EnvMatrix]
DATABRICKS_BUNDLE_ENGINE = ["direct"]

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add a comment re terraform, why is it not tested there? Is it not implemented there?

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hey! the TF changes are in but have not been released yet. was chatting with @pietern who mentioned that we were unblocked for the direct deployment mode and we can implement the changes there first.

ill add a comment in the test

WarehouseId: dashboard.WarehouseId,
SerializedDashboard: dashboard.SerializedDashboard,
ParentPath: ensureWorkspacePrefix(dashboard.ParentPath),
DatasetCatalog: "",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it not possible to read these?

In general, we need to be able to read these fields to identify whether they were modified outside of DABs.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

APIs which have a behaviour like this are likely not complaint with AIP.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I heard back from @pietern that we detect diff here via etags since the etag changes if these are modified. Can you please add a comment saying as much so future readers are also aware?

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good call, done 👍

Comment threadbundle/config/resources/dashboard.go
- Add Terraform conversion test for dataset_catalog and dataset_schema
- Update acceptance tests to run for both direct and terraform engines
- Fix direct engine to skip write-only fields in remote diff computation
- Add engine-specific expected output files for requests and plans
- Update test script to generate engine-specific request files
@pieternpietern changed the title [DASH] Enable dashboard dataset_catalog/schema in direct deployment modeAdd support for configurable catalog/schema for dashboardsDec 17, 2025
@github-actions

Copy link
Copy Markdown
Contributor

An authorized user can trigger integration tests manually by following the instructions below:

Trigger:
go/deco-tests-run/cli

Inputs:

  • PR number: 4130
  • Commit SHA: ca21bfea1f2743bcfff7789cef04daf51f9a04b4

Checks will be approved automatically on success.

@pietern
pietern enabled auto-merge December 18, 2025 08:30
@eng-dev-ecosystem-bot

eng-dev-ecosystem-bot commented Dec 18, 2025

Copy link
Copy Markdown
Collaborator

Commit: ca21bfe

Run: 20330775996

Env❌​FAIL🟨​KNOWN💚​RECOVERED🙈​SKIP✅​pass🙈​skipTime
🟨​aws linux155137064621:30
🟨​aws windows20137264415:46
🟨​aws-ucws linux119151353121:13
🟨​aws-ucws windows164151552920:43
🟨​azure linux86337164418:13
❌​azure windows214337164217:06
🟨​azure-ucws linux86351052922:58
❌​azure-ucws windows214351052719:46
🟨​gcp linux86336065016:07
🟨​gcp windows131336264820:10
23 interesting tests: 20 KNOWN, 2 FAIL, 1 SKIP
Test Nameaws linuxaws windowsaws-ucws linuxaws-ucws windowsazure linuxazure windowsazure-ucws linuxazure-ucws windowsgcp linuxgcp windows
🟨​TestAccept🟨​K🟨​K🟨​K🟨​K💚​R🟨​K💚​R🟨​K💚​R💚​R
🙈​TestAccept/bundle/resources/permissions🙈​S🙈​S🙈​S🙈​S🙈​S🙈​S🙈​S🙈​S🙈​S🙈​S
🟨​TestAccept/bundle/resources/permissions/jobs/destroy_without_mgmtperms/with_permissions🟨​K🟨​K🟨​K🟨​K🙈​S🙈​S🙈​S🙈​S🙈​S🙈​S
🟨​TestAccept/bundle/resources/permissions/jobs/destroy_without_mgmtperms/with_permissions/DATABRICKS_BUNDLE_ENGINE=direct🟨​K🟨​K🟨​K🟨​K
🟨​TestAccept/bundle/resources/permissions/jobs/destroy_without_mgmtperms/with_permissions/DATABRICKS_BUNDLE_ENGINE=terraform🟨​K🟨​K💚​R💚​R
🟨​TestAccept/bundle/resources/permissions/jobs/destroy_without_mgmtperms/without_permissions🟨​K🟨​K💚​R💚​R🙈​S🙈​S🙈​S🙈​S🙈​S🙈​S
🟨​TestAccept/bundle/resources/permissions/jobs/destroy_without_mgmtperms/without_permissions/DATABRICKS_BUNDLE_ENGINE=direct🟨​K🟨​K💚​R💚​R
🟨​TestAccept/bundle/resources/permissions/jobs/destroy_without_mgmtperms/without_permissions/DATABRICKS_BUNDLE_ENGINE=terraform🟨​K🟨​K💚​R💚​R
❌​TestAccept/bundle/resources/secret_scopes/permissions✅​p✅​p✅​p✅​p✅​p❌​F✅​p❌​F🙈​s🙈​s
❌​TestAccept/bundle/resources/secret_scopes/permissions/DATABRICKS_BUNDLE_ENGINE=terraform✅​p✅​p✅​p✅​p✅​p❌​F✅​p❌​F
🟨​TestFsRmNonEmptyDirectory🟨​K🟨​K🟨​K🟨​K🟨​K🟨​K🟨​K🟨​K🟨​K🟨​K
🟨​TestFsRmNonEmptyDirectory/dbfs🟨​K🟨​K🟨​K🟨​K🟨​K🟨​K🟨​K🟨​K🟨​K🟨​K
🟨​TestExport🟨​K🟨​K🟨​K🟨​K🟨​K🟨​K🟨​K🟨​K🟨​K🟨​K
🟨​TestExportWithFileFlag🟨​K🟨​K🟨​K🟨​K🟨​K🟨​K🟨​K🟨​K🟨​K🟨​K
🟨​TestImportDir💚​R🟨​K💚​R🟨​K💚​R🟨​K💚​R🟨​K💚​R🟨​K
🟨​TestImportDirDoesNotOverwrite💚​R🟨​K💚​R🟨​K💚​R🟨​K💚​R🟨​K💚​R🟨​K
🟨​TestImportDirWithOverwriteFlag💚​R🟨​K💚​R🟨​K💚​R🟨​K💚​R🟨​K💚​R🟨​K
🟨​TestImportFileFormatAuto💚​R🟨​K💚​R🟨​K💚​R🟨​K💚​R🟨​K💚​R🟨​K
🟨​TestImportFileFormatSource💚​R🟨​K💚​R🟨​K💚​R🟨​K💚​R🟨​K💚​R🟨​K
🟨​TestFilerReadWrite🟨​K🟨​K🟨​K🟨​K🟨​K🟨​K🟨​K🟨​K🟨​K🟨​K
🟨​TestFilerReadWrite/dbfs🟨​K🟨​K🟨​K🟨​K🟨​K🟨​K🟨​K🟨​K🟨​K🟨​K
🟨​TestFilerRecursiveDelete🟨​K🟨​K🟨​K🟨​K🟨​K🟨​K🟨​K🟨​K🟨​K🟨​K
🟨​TestFilerRecursiveDelete/dbfs🟨​K🟨​K🟨​K🟨​K🟨​K🟨​K🟨​K🟨​K🟨​K🟨​K
Top 38 slowest tests (at least 2 minutes):
durationenvtestname
6:16aws-ucws windowsTestAccept/bundle/resources/synced_database_tables/basic
5:49azure-ucws linuxTestAccept/ssh/connection
5:49aws-ucws windowsTestAccept/bundle/resources/clusters/deploy/update-after-create/DATABRICKS_BUNDLE_ENGINE=terraform
5:46gcp windowsTestAccept/bundle/resources/clusters/deploy/update-after-create/DATABRICKS_BUNDLE_ENGINE=terraform
5:43aws windowsTestAccept/bundle/resources/clusters/deploy/update-after-create/DATABRICKS_BUNDLE_ENGINE=terraform
5:40aws windowsTestAccept/bundle/resources/clusters/deploy/update-after-create/DATABRICKS_BUNDLE_ENGINE=direct
5:39gcp windowsTestAccept/bundle/resources/clusters/deploy/update-after-create/DATABRICKS_BUNDLE_ENGINE=direct
5:37gcp linuxTestAccept/bundle/resources/clusters/deploy/update-after-create/DATABRICKS_BUNDLE_ENGINE=terraform
5:29aws-ucws windowsTestAccept/bundle/resources/clusters/deploy/update-after-create/DATABRICKS_BUNDLE_ENGINE=direct
5:19azure-ucws windowsTestSecretsPutSecretStringValue
5:16aws-ucws linuxTestAccept/bundle/resources/synced_database_tables/basic
5:14aws linuxTestAccept/ssh/connection
5:14gcp linuxTestAccept/bundle/resources/clusters/deploy/update-after-create/DATABRICKS_BUNDLE_ENGINE=direct
5:11azure linuxTestSecretsPutSecretStringValue
5:09azure linuxTestAccept/ssh/connection
5:09aws linuxTestAccept/bundle/resources/clusters/deploy/update-after-create/DATABRICKS_BUNDLE_ENGINE=direct
5:08aws-ucws linuxTestAccept/ssh/connection
4:56azure-ucws windowsTestAccept/ssh/connection
4:51aws linuxTestSecretsPutSecretStringValue
4:35azure-ucws windowsTestAccept/bundle/resources/clusters/deploy/update-after-create/DATABRICKS_BUNDLE_ENGINE=terraform
4:33azure-ucws linuxTestAccept/bundle/resources/clusters/deploy/update-after-create/DATABRICKS_BUNDLE_ENGINE=terraform
4:32azure-ucws linuxTestAccept/bundle/resources/clusters/deploy/update-after-create/DATABRICKS_BUNDLE_ENGINE=direct
4:21azure-ucws windowsTestAccept/bundle/resources/clusters/deploy/update-after-create/DATABRICKS_BUNDLE_ENGINE=direct
4:12azure linuxTestAccept/bundle/resources/clusters/deploy/update-after-create/DATABRICKS_BUNDLE_ENGINE=direct
4:10azure linuxTestAccept/bundle/resources/clusters/deploy/update-after-create/DATABRICKS_BUNDLE_ENGINE=terraform
4:10aws-ucws windowsTestAccept/ssh/connection
4:08azure windowsTestAccept/bundle/resources/clusters/deploy/update-after-create/DATABRICKS_BUNDLE_ENGINE=terraform
4:01azure windowsTestAccept/bundle/resources/clusters/deploy/update-after-create/DATABRICKS_BUNDLE_ENGINE=direct
3:02azure-ucws linuxTestSecretsPutSecretStringValue
3:01aws windowsTestSecretsPutSecretStringValue
2:55azure-ucws linuxTestAccept/bundle/resources/synced_database_tables/basic
2:43aws-ucws linuxTestAccept/bundle/resources/clusters/deploy/update-after-create/DATABRICKS_BUNDLE_ENGINE=direct
2:39azure windowsTestSecretsPutSecretStringValue
2:39aws windowsTestAccept/ssh/connection
2:35azure-ucws windowsTestAccept/bundle/resources/synced_database_tables/basic
2:32azure windowsTestAccept/ssh/connection
2:27aws-ucws linuxTestAccept/bundle/resources/clusters/deploy/update-after-create/DATABRICKS_BUNDLE_ENGINE=terraform
2:20aws linuxTestAccept/bundle/resources/clusters/deploy/update-after-create/DATABRICKS_BUNDLE_ENGINE=terraform

@pietern
pietern disabled auto-merge December 18, 2025 09:07
@pietern

Copy link
Copy Markdown
Contributor

Integration test failures are unrelated.

@pietern
pietern merged commit b6349a4 into databricks:mainDec 18, 2025
18 of 19 checks passed
@eng-dev-ecosystem-bot

Copy link
Copy Markdown
Collaborator

Commit: b6349a4

Run: 20331739177

Env❌​FAIL🟨​KNOWN🔄​flaky💚​RECOVERED🙈​SKIP✅​pass🙈​skipTime
🟨​aws linux155140663252:34
🟨​aws windows20140863054:25
🟨​aws-ucws linux119156751189:37
🟨​aws-ucws windows164156950992:09
🟨​azure linux86340763048:10
🟨​azure windows131340962857:19
❌​azure-ucws linux1195355350986:49
❌​azure-ucws windows13143553507106:45
🟨​gcp linux835338563955:04
🟨​gcp windows131338963760:14
39 interesting tests: 20 KNOWN, 16 FAIL, 2 flaky, 1 SKIP
Test Nameaws linuxaws windowsaws-ucws linuxaws-ucws windowsazure linuxazure windowsazure-ucws linuxazure-ucws windowsgcp linuxgcp windows
🟨​TestAccept🟨​K🟨​K🟨​K🟨​K💚​R💚​R🟨​K🟨​K🔄​f💚​R
🔄​TestAccept/bundle/integration_whl/custom_params✅​p✅​p✅​p✅​p✅​p✅​p✅​p✅​p🔄​f✅​p
🔄​TestAccept/bundle/integration_whl/custom_params/DATABRICKS_BUNDLE_ENGINE=terraform✅​p✅​p✅​p✅​p✅​p✅​p✅​p✅​p🔄​f✅​p
❌​TestAccept/bundle/integration_whl/interactive_cluster✅​p✅​p✅​p✅​p✅​p✅​p❌​F✅​p✅​p✅​p
❌​TestAccept/bundle/integration_whl/interactive_cluster/DATABRICKS_BUNDLE_ENGINE=direct✅​p✅​p✅​p✅​p✅​p✅​p❌​F✅​p✅​p✅​p
❌​TestAccept/bundle/integration_whl/interactive_cluster/DATABRICKS_BUNDLE_ENGINE=terraform✅​p✅​p✅​p✅​p✅​p✅​p❌​F✅​p✅​p✅​p
❌​TestAccept/bundle/integration_whl/interactive_cluster_dynamic_version✅​p✅​p✅​p✅​p✅​p✅​p❌​F❌​F✅​p✅​p
❌​TestAccept/bundle/integration_whl/interactive_cluster_dynamic_version/DATABRICKS_BUNDLE_ENGINE=direct/DATA_SECURITY_MODE=SINGLE_USER✅​p✅​p✅​p✅​p✅​p✅​p❌​F❌​F✅​p✅​p
❌​TestAccept/bundle/integration_whl/interactive_cluster_dynamic_version/DATABRICKS_BUNDLE_ENGINE=direct/DATA_SECURITY_MODE=USER_ISOLATION✅​p✅​p✅​p✅​p✅​p✅​p❌​F❌​F✅​p✅​p
❌​TestAccept/bundle/integration_whl/interactive_cluster_dynamic_version/DATABRICKS_BUNDLE_ENGINE=terraform/DATA_SECURITY_MODE=SINGLE_USER✅​p✅​p✅​p✅​p✅​p✅​p❌​F❌​F✅​p✅​p
❌​TestAccept/bundle/integration_whl/interactive_cluster_dynamic_version/DATABRICKS_BUNDLE_ENGINE=terraform/DATA_SECURITY_MODE=USER_ISOLATION✅​p✅​p✅​p✅​p✅​p✅​p❌​F❌​F✅​p✅​p
❌​TestAccept/bundle/integration_whl/interactive_single_user✅​p✅​p✅​p✅​p✅​p✅​p❌​F❌​F✅​p✅​p
❌​TestAccept/bundle/integration_whl/interactive_single_user/DATABRICKS_BUNDLE_ENGINE=direct✅​p✅​p✅​p✅​p✅​p✅​p❌​F❌​F✅​p✅​p
❌​TestAccept/bundle/integration_whl/interactive_single_user/DATABRICKS_BUNDLE_ENGINE=terraform✅​p✅​p✅​p✅​p✅​p✅​p❌​F❌​F✅​p✅​p
❌​TestAccept/bundle/resources/clusters/run/spark_python_task✅​p✅​p✅​p✅​p✅​p✅​p✅​p❌​F✅​p✅​p
❌​TestAccept/bundle/resources/clusters/run/spark_python_task/DATABRICKS_BUNDLE_ENGINE=direct✅​p✅​p✅​p✅​p✅​p✅​p✅​p❌​F✅​p✅​p
❌​TestAccept/bundle/resources/clusters/run/spark_python_task/DATABRICKS_BUNDLE_ENGINE=terraform✅​p✅​p✅​p✅​p✅​p✅​p✅​p❌​F✅​p✅​p
🙈​TestAccept/bundle/resources/permissions🙈​S🙈​S🙈​S🙈​S🙈​S🙈​S🙈​S🙈​S🙈​S🙈​S
❌​TestAccept/bundle/resources/permissions/factcheck✅​p✅​p✅​p✅​p✅​p✅​p✅​p❌​F🙈​s🙈​s
❌​TestAccept/bundle/resources/permissions/factcheck/DATABRICKS_BUNDLE_ENGINE=terraform✅​p✅​p✅​p✅​p✅​p✅​p✅​p❌​F
🟨​TestAccept/bundle/resources/permissions/jobs/destroy_without_mgmtperms/with_permissions🟨​K🟨​K🟨​K🟨​K🙈​S🙈​S🙈​S🙈​S🙈​S🙈​S
🟨​TestAccept/bundle/resources/permissions/jobs/destroy_without_mgmtperms/with_permissions/DATABRICKS_BUNDLE_ENGINE=direct🟨​K🟨​K🟨​K🟨​K
🟨​TestAccept/bundle/resources/permissions/jobs/destroy_without_mgmtperms/with_permissions/DATABRICKS_BUNDLE_ENGINE=terraform🟨​K🟨​K💚​R💚​R
🟨​TestAccept/bundle/resources/permissions/jobs/destroy_without_mgmtperms/without_permissions🟨​K🟨​K💚​R💚​R🙈​S🙈​S🙈​S🙈​S🙈​S🙈​S
🟨​TestAccept/bundle/resources/permissions/jobs/destroy_without_mgmtperms/without_permissions/DATABRICKS_BUNDLE_ENGINE=direct🟨​K🟨​K💚​R💚​R
🟨​TestAccept/bundle/resources/permissions/jobs/destroy_without_mgmtperms/without_permissions/DATABRICKS_BUNDLE_ENGINE=terraform🟨​K🟨​K💚​R💚​R
🟨​TestFsRmNonEmptyDirectory🟨​K🟨​K🟨​K🟨​K🟨​K🟨​K🟨​K🟨​K🟨​K🟨​K
🟨​TestFsRmNonEmptyDirectory/dbfs🟨​K🟨​K🟨​K🟨​K🟨​K🟨​K🟨​K🟨​K🟨​K🟨​K
🟨​TestExport🟨​K🟨​K🟨​K🟨​K🟨​K🟨​K🟨​K🟨​K🟨​K🟨​K
🟨​TestExportWithFileFlag🟨​K🟨​K🟨​K🟨​K🟨​K🟨​K🟨​K🟨​K🟨​K🟨​K
🟨​TestImportDir💚​R🟨​K💚​R🟨​K💚​R🟨​K💚​R🟨​K💚​R🟨​K
🟨​TestImportDirDoesNotOverwrite💚​R🟨​K💚​R🟨​K💚​R🟨​K💚​R🟨​K💚​R🟨​K
🟨​TestImportDirWithOverwriteFlag💚​R🟨​K💚​R🟨​K💚​R🟨​K💚​R🟨​K💚​R🟨​K
🟨​TestImportFileFormatAuto💚​R🟨​K💚​R🟨​K💚​R🟨​K💚​R🟨​K💚​R🟨​K
🟨​TestImportFileFormatSource💚​R🟨​K💚​R🟨​K💚​R🟨​K💚​R🟨​K💚​R🟨​K
🟨​TestFilerReadWrite🟨​K🟨​K🟨​K🟨​K🟨​K🟨​K🟨​K🟨​K🟨​K🟨​K
🟨​TestFilerReadWrite/dbfs🟨​K🟨​K🟨​K🟨​K🟨​K🟨​K🟨​K🟨​K🟨​K🟨​K
🟨​TestFilerRecursiveDelete🟨​K🟨​K🟨​K🟨​K🟨​K🟨​K🟨​K🟨​K🟨​K🟨​K
🟨​TestFilerRecursiveDelete/dbfs🟨​K🟨​K🟨​K🟨​K🟨​K🟨​K🟨​K🟨​K🟨​K🟨​K
Top 50 slowest tests (at least 2 minutes):
durationenvtestname
23:05azure-ucws windowsTestAccept/bundle/resources/model_serving_endpoints/running-endpoint/DATABRICKS_BUNDLE_ENGINE=terraform
22:44azure-ucws windowsTestAccept/bundle/resources/model_serving_endpoints/running-endpoint/DATABRICKS_BUNDLE_ENGINE=direct
20:53azure-ucws linuxTestAccept/bundle/resources/model_serving_endpoints/running-endpoint/DATABRICKS_BUNDLE_ENGINE=terraform
20:35azure-ucws linuxTestAccept/bundle/resources/model_serving_endpoints/running-endpoint/DATABRICKS_BUNDLE_ENGINE=direct
16:56aws-ucws linuxTestAccept/bundle/resources/model_serving_endpoints/running-endpoint/DATABRICKS_BUNDLE_ENGINE=terraform
14:23aws linuxTestAccept/bundle/integration_whl/base/DATABRICKS_BUNDLE_ENGINE=terraform
14:23aws windowsTestAccept/bundle/integration_whl/base/DATABRICKS_BUNDLE_ENGINE=direct
13:43gcp windowsTestAccept/bundle/integration_whl/interactive_single_user/DATABRICKS_BUNDLE_ENGINE=terraform
13:37gcp linuxTestAccept/bundle/integration_whl/interactive_cluster_dynamic_version/DATABRICKS_BUNDLE_ENGINE=terraform/DATA_SECURITY_MODE=SINGLE_USER
12:59aws-ucws windowsTestAccept/bundle/resources/model_serving_endpoints/running-endpoint/DATABRICKS_BUNDLE_ENGINE=terraform
12:57gcp windowsTestAccept/bundle/integration_whl/custom_params/DATABRICKS_BUNDLE_ENGINE=direct
12:16aws-ucws windowsTestAccept/bundle/integration_whl/interactive_single_user/DATABRICKS_BUNDLE_ENGINE=terraform
11:56azure-ucws windowsTestAccept/bundle/resources/clusters/deploy/update-after-create/DATABRICKS_BUNDLE_ENGINE=terraform
11:36gcp windowsTestAccept/bundle/integration_whl/interactive_cluster_dynamic_version/DATABRICKS_BUNDLE_ENGINE=direct/DATA_SECURITY_MODE=SINGLE_USER
11:19aws windowsTestAccept/bundle/integration_whl/base/DATABRICKS_BUNDLE_ENGINE=terraform
11:17aws-ucws linuxTestAccept/bundle/integration_whl/base/DATABRICKS_BUNDLE_ENGINE=direct
11:14aws linuxTestAccept/bundle/integration_whl/interactive_cluster_dynamic_version/DATABRICKS_BUNDLE_ENGINE=terraform/DATA_SECURITY_MODE=SINGLE_USER
10:58aws windowsTestAccept/bundle/integration_whl/interactive_cluster_dynamic_version/DATABRICKS_BUNDLE_ENGINE=terraform/DATA_SECURITY_MODE=SINGLE_USER
10:30aws-ucws linuxTestAccept/bundle/integration_whl/base/DATABRICKS_BUNDLE_ENGINE=terraform
10:29azure-ucws linuxTestAccept/bundle/integration_whl/base/DATABRICKS_BUNDLE_ENGINE=terraform
10:18gcp linuxTestAccept/bundle/integration_whl/interactive_single_user/DATABRICKS_BUNDLE_ENGINE=terraform
10:00azure windowsTestAccept/bundle/integration_whl/base/DATABRICKS_BUNDLE_ENGINE=direct
9:51gcp linuxTestAccept/bundle/integration_whl/interactive_cluster_dynamic_version/DATABRICKS_BUNDLE_ENGINE=direct/DATA_SECURITY_MODE=SINGLE_USER
9:41aws-ucws linuxTestAccept/bundle/resources/model_serving_endpoints/running-endpoint/DATABRICKS_BUNDLE_ENGINE=direct
9:35gcp linuxTestAccept/bundle/integration_whl/interactive_cluster_dynamic_version/DATABRICKS_BUNDLE_ENGINE=direct/DATA_SECURITY_MODE=USER_ISOLATION
9:31azure-ucws windowsTestAccept/bundle/integration_whl/base/DATABRICKS_BUNDLE_ENGINE=terraform
9:27azure-ucws windowsTestSparkJarTaskDeployAndRunOnVolumes/Databricks_Runtime_15.4_LTS
9:20gcp windowsTestAccept/bundle/integration_whl/interactive_cluster/DATABRICKS_BUNDLE_ENGINE=terraform
9:13azure linuxTestSparkJarTaskDeployAndRunOnWorkspace/Databricks_Runtime_15.4_LTS
9:12gcp windowsTestAccept/bundle/integration_whl/custom_params/DATABRICKS_BUNDLE_ENGINE=terraform
9:04aws-ucws windowsTestAccept/bundle/integration_whl/interactive_cluster_dynamic_version/DATABRICKS_BUNDLE_ENGINE=direct/DATA_SECURITY_MODE=SINGLE_USER
9:04aws windowsTestAccept/bundle/integration_whl/interactive_cluster/DATABRICKS_BUNDLE_ENGINE=direct
8:57azure-ucws windowsTestAccept/bundle/resources/clusters/deploy/update-after-create/DATABRICKS_BUNDLE_ENGINE=direct
8:51gcp windowsTestAccept/bundle/run/app-with-job/DATABRICKS_BUNDLE_ENGINE=direct
8:48azure-ucws linuxTestAccept/bundle/integration_whl/base/DATABRICKS_BUNDLE_ENGINE=direct
8:47aws windowsTestAccept/bundle/integration_whl/interactive_cluster_dynamic_version/DATABRICKS_BUNDLE_ENGINE=direct/DATA_SECURITY_MODE=SINGLE_USER
8:45gcp windowsTestAccept/bundle/run/app-with-job/DATABRICKS_BUNDLE_ENGINE=terraform
8:45aws-ucws windowsTestAccept/bundle/integration_whl/base/DATABRICKS_BUNDLE_ENGINE=terraform
8:45gcp linuxTestAccept/bundle/integration_whl/base/DATABRICKS_BUNDLE_ENGINE=terraform
8:42aws-ucws windowsTestAccept/bundle/resources/model_serving_endpoints/running-endpoint/DATABRICKS_BUNDLE_ENGINE=direct
8:39gcp windowsTestAccept/bundle/integration_whl/interactive_cluster_dynamic_version/DATABRICKS_BUNDLE_ENGINE=terraform/DATA_SECURITY_MODE=USER_ISOLATION
8:36aws-ucws linuxTestAccept/bundle/integration_whl/interactive_cluster_dynamic_version/DATABRICKS_BUNDLE_ENGINE=direct/DATA_SECURITY_MODE=USER_ISOLATION
8:35aws windowsTestAccept/bundle/integration_whl/interactive_cluster_dynamic_version/DATABRICKS_BUNDLE_ENGINE=terraform/DATA_SECURITY_MODE=USER_ISOLATION
8:33azure windowsTestAccept/bundle/integration_whl/interactive_cluster_dynamic_version/DATABRICKS_BUNDLE_ENGINE=direct/DATA_SECURITY_MODE=SINGLE_USER
8:31gcp linuxTestAccept/bundle/integration_whl/base/DATABRICKS_BUNDLE_ENGINE=direct
8:30gcp windowsTestSparkJarTaskDeployAndRunOnWorkspace/Databricks_Runtime_14.3_LTS
8:27aws linuxTestAccept/bundle/integration_whl/interactive_cluster_dynamic_version/DATABRICKS_BUNDLE_ENGINE=terraform/DATA_SECURITY_MODE=USER_ISOLATION
8:26gcp linuxTestAccept/bundle/integration_whl/interactive_cluster/DATABRICKS_BUNDLE_ENGINE=direct
8:20gcp windowsTestAccept/bundle/integration_whl/base/DATABRICKS_BUNDLE_ENGINE=terraform
8:18azure linuxTestAccept/bundle/integration_whl/base/DATABRICKS_BUNDLE_ENGINE=direct

deco-sdk-taggingBot added a commit that referenced this pull request Dec 18, 2025
## Release v0.281.0
### CLI
* Fix lakeview publish to default `embed_credentials` to false ([#4066](#4066))
### Bundles
* Add support for configurable catalog/schema for dashboards ([#4130](#4130))
* Pass SYSTEM\_ACCESSTOKEN from env to the Terraform provider ([#4135](#4135))
* `bundle deployment migrate`: when running `bundle plan` propagate `-var` arguments.
* engine/direct: New option --plan to `bundle deploy` to deploy previously saved plan (saved plan with `bundle plan -o json`) ([#4134](#4134))
* engine/direct: Fix dependency-ordered deletion by persisting depends\_on in state ([#4105](#4105))
### Dependency updates
* Upgrade Go SDK to 0.94.0 ([#4148](#4148))
* Upgrade Terraform provider to 1.100.0 ([#4150](#4150))
@hafeja

hafeja commented Jan 8, 2026

Copy link
Copy Markdown

Hi @leonli33-databricks , nice feature!

My problem is, that it doesn't work using databricks CLI v0.282.0 on Mac M4. After batabricks bundel deploy, the dashboard widgets throw error

[TABLE_OR_VIEW_NOT_FOUND] The table or view `great_table` cannot be found. Verify the spelling and correctness of the schema and catalog.

My databricks.yml looks like this:

resources:
jobs:
...tasks:
...dashboards:
dashboard:
display_name: "Great Dashboard"dataset_catalog: "catalog"dataset_schema: "schema"

How to analyze/fix?

Any kind of support is highly appreciated!

Best Regards!

@leonli33-databricks

Copy link
Copy Markdown
ContributorAuthor

hey @hafeja! the error is saying that the default catalog and schema you used does not have the asset great_table inside of it. can you confirm/send screenshot of:

  1. the catalog and schema picker of the failing dataset
  2. the assets inside of the relevant schema

also may be quicker to do this on slack, feel free to message me (Leon Li)

@hafeja

hafeja commented Jan 9, 2026

Copy link
Copy Markdown

Hi @leonli33-databricks, due to data protection, I cannot share the exact values. Dataset query excerpt:

...
"SELECT\n",
" CONCAT(hersteller, '-', seriennummer) as item_id,\n",
" *\n",
"FROM\n",
" <catalog>.<schema>.<great_table> c\n",
...

As soon as dataset_catalog is defined and <catalog>. is removed from the dashboard JSON definition, the error message above appears.
image
If button above is clicked in the UI, exactly <catalog>.<schema>.<great_table> is returned.

Is there any way to debug the issue? Any other ideas?

In the output of databricks bundle deploy --debug I expect to see the invocation of https://docs.databricks.com/api/workspace/lakeview/create but in fact I just saw a file-import operation.

Another strange behavior is that some VS Code linter complains (red line):
image
Bear with me that the warning is in German.
However, the bundle deploy operation succeeds without warnings/errors.

@hafeja

Copy link
Copy Markdown

Hi @leonli33-databricks , update from my side: Now, it works :) I assume the feature was not yet (fully?) available in EU region. At least, I did absolutely no code changes since last week.

@therm8

Copy link
Copy Markdown

Hi @leonli33-databricks , update from my side: Now, it works :) I assume the feature was not yet (fully?) available in EU region. At least, I did absolutely no code changes since last week.

Hey! I still have the issue that you experienced, did the red lines disappear when the problem was resolved? I might just wait some day and hopefully the error should be gone for me too (I'm also in the EU)

@leonli33-databricks

Copy link
Copy Markdown
ContributorAuthor

Hi @leonli33-databricks , update from my side: Now, it works :) I assume the feature was not yet (fully?) available in EU region. At least, I did absolutely no code changes since last week.

Hey! I still have the issue that you experienced, did the red lines disappear when the problem was resolved? I might just wait some day and hopefully the error should be gone for me too (I'm also in the EU)

hmmmm @pietern do you have any context on why users may be seeing a difference in behavior in the EU? my understanding is that this should work everywhere when using CLI v0.281.0+

@hafeja

Copy link
Copy Markdown

Hi @leonli33-databricks , update from my side: Now, it works :) I assume the feature was not yet (fully?) available in EU region. At least, I did absolutely no code changes since last week.

Hey! I still have the issue that you experienced, did the red lines disappear when the problem was resolved? I might just wait some day and hopefully the error should be gone for me too (I'm also in the EU)

Hi @therm8 , the red lines are still there.

@therm8

Copy link
Copy Markdown

Hi @therm8 , the red lines are still there.

Okay, so it just magically started working? Hope that happens to me too

@therm8

Copy link
Copy Markdown

@leonli33-databricks how can I slack you?

@leonli33-databricks

Copy link
Copy Markdown
ContributorAuthor

@leonli33-databricks how can I slack you?

@therm8 we are looking into a similar report from another customer. will keep you updated, i suspect its the same issue 👍

@therm8

Copy link
Copy Markdown

nice, thank you!

@pietern

Copy link
Copy Markdown
Contributor

@therm8 Could you try the latest CLI version (v0.285.0)? It includes (via the Terraform bump) a fix for this issue.

@hafeja

Copy link
Copy Markdown

@therm8 Could you try the latest CLI version (v0.285.0)? It includes (via the Terraform bump) a fix for this issue.

Sadly, I encountered the problem reported above again during the last few days. After updating the CLI to 0.285 it works at the moment 🤔 👍

@leonli33-databricks

Copy link
Copy Markdown
ContributorAuthor

Sadly, I encountered the problem reported above again during the last few days. After updating the CLI to 0.285 it works at the moment 🤔 👍

@therm8 sounds good, please let us know if you encounter any issues when using v0.285 👍

denik pushed a commit that referenced this pull request May 20, 2026
## Changes
Support passing the `dataset_catalog` and `dataset_schema` fields for dashboards.
Example:
```
resources:
dashboards:
my_dashboard:
display_name: NYC Taxi
warehouse_id: ${var.sql_warehouse_id}
file_path: "sample-dashboard.lvdash.json"
embed_credentials: true
# Sets the default catalog/schema for all datasets in this dashboard.
# Does not impact table references that use fully qualified catalog names (ex: samples.nyctaxi.trips).
# Leave blank to keep each dataset’s existing configuration.
dataset_catalog: main
dataset_schema: default
```
## Tests
New acceptance tests.
---------
Co-authored-by: Pieter Noordhuis <pieter.noordhuis@databricks.com>
denik pushed a commit that referenced this pull request May 20, 2026
## Release v0.281.0
### CLI
* Fix lakeview publish to default `embed_credentials` to false ([#4066](#4066))
### Bundles
* Add support for configurable catalog/schema for dashboards ([#4130](#4130))
* Pass SYSTEM\_ACCESSTOKEN from env to the Terraform provider ([#4135](#4135))
* `bundle deployment migrate`: when running `bundle plan` propagate `-var` arguments.
* engine/direct: New option --plan to `bundle deploy` to deploy previously saved plan (saved plan with `bundle plan -o json`) ([#4134](#4134))
* engine/direct: Fix dependency-ordered deletion by persisting depends\_on in state ([#4105](#4105))
### Dependency updates
* Upgrade Go SDK to 0.94.0 ([#4148](#4148))
* Upgrade Terraform provider to 1.100.0 ([#4150](#4150))
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants

@leonli33-databricks@eng-dev-ecosystem-bot@pietern@hafeja@therm8@denik@shreyas-goenka