Skip to content

Document skip_optimize model config for dbt-databricks#9496

Open
moomindani wants to merge 1 commit into
dbt-labs:currentfrom
moomindani:databricks-skip-optimize-config
Open

Document skip_optimize model config for dbt-databricks#9496
moomindani wants to merge 1 commit into
dbt-labs:currentfrom
moomindani:databricks-skip-optimize-config

Conversation

@moomindani

Copy link
Copy Markdown

What are you changing in this pull request and why?

dbt-databricks 1.12.2 adds a new skip_optimize model config that lets you opt a model out of the post-materialization OPTIMIZE call while keeping zorder / liquid_clustered_by / auto_liquid_cluster in the table definition. This documents it on the Databricks configurations page.

It complements the existing run-wide DATABRICKS_SKIP_OPTIMIZE variable by allowing per-model (and, via config inheritance, per-folder / per-project) opt-out. The added note also clarifies the precedence: DATABRICKS_SKIP_OPTIMIZE=true skips OPTIMIZE for every model and cannot be re-enabled for an individual model with skip_optimize: false.

Related: dbt-databricks PR databricks/dbt-databricks#1485, issue databricks/dbt-databricks#703

Checklist

  • The changes in this PR meet the docs style guide/fundamentals required for all content.
  • Applied the proper versioning rules ("Available since dbt-databricks 1.12.2" noted inline).

@moomindani moomindani requested a review from a team as a code owner June 25, 2026 00:26
@vercel

vercel Bot commented Jun 25, 2026

Copy link
Copy Markdown

@moomindani is attempting to deploy a commit to the dbt-labs Team on Vercel.

A member of the Team first needs to authorize it.

@runleonarun runleonarun added the new contributor Label for first-time contributors label Jun 25, 2026
@github-actions github-actions Bot added the content Improvements or additions to content label Jun 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

content Improvements or additions to content new contributor Label for first-time contributors

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants