Skip to content

Apply the dbt_task.schema default to job tasks - #7097

Draft
denik wants to merge 3 commits into
mainfrom
denik/dbt-schema-default
Draft

denik wants to merge 3 commits into
mainfrom
denik/dbt-schema-default

Conversation

@denik

@denik denik commented Oct 17, 2026

Copy link
Copy Markdown
Contributor

Changes

Fix the default for dbt_task.schema: it pointed at resources.jobs.*.task[*], which is not a field, so dbt tasks (also inside for_each_task) without a schema never got "default". It now matches tasks[*], as the Terraform provider does.

Why

Found while reviewing the defaults table; the intended default was never applied.

Tests

New acceptance/bundle/validate/dbt_task_schema_default (first commit records the old behaviour, second shows the fix). paths/nominal and resources/jobs/task-source goldens gain "schema": "default".

This pull request and its description were written by Isaac.

denik and others added 2 commits October 17, 2026 13:54
Co-authored-by: Isaac <no-reply@databricks.com>
The default pointed at resources.jobs.*.task[*], which is not a field, so
dbt tasks without a schema never got "default".

Co-authored-by: Isaac <no-reply@databricks.com>
@github-actions github-actions Bot added the DABs DABs related issues label Oct 17, 2026
Co-authored-by: Isaac <no-reply@databricks.com>
@eng-dev-ecosystem-bot

Copy link
Copy Markdown
Collaborator

Integration test report

Commit: f0bdea2

Run: 39030945777

Env ✅​pass 🙈​skip Time
✅​ aws linux-2core-8gb 276 18 4:49
✅​ aws-windows-latest-4core-16gb 278 16 5:48
✅​ azure linux-2core-8gb 275 18 4:55
✅​ azure-windows-latest-4core-16gb 277 16 5:43
✅​ gcp linux-2core-8gb 276 18 4:45
✅​ gcp-windows-latest-4core-16gb 278 16 3:30
Top 6 slowest tests (at least 2 minutes):
duration env testname
5:40 aws-windows-latest-4core-16gb TestAccept
5:35 azure-windows-latest-4core-16gb TestAccept
3:24 gcp-windows-latest-4core-16gb TestAccept
2:48 aws linux-2core-8gb TestAccept
2:47 azure linux-2core-8gb TestAccept
2:47 gcp linux-2core-8gb TestAccept

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

DABs DABs related issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants