Repository navigation
Features
- Accept
use_materialization_v2as a model config, so a project or an individual table or incremental model can choose between the atomicCREATE OR REPLACE TABLE … AS SELECTpath and the create-then-insert path; models that don't set it follow theuse_materialization_v2behavior flag, and view models ignore it by @sd-db in #1718
Fixes
- Stop
dbt docs generatefrom emitting aRuntimeWarningper schema for catalog metadata columns that are absent from the results (thanks @emrekabalcii!) (#1749 resolves #1748) - Unset tags on columns that a
tablemodel or incremental full refresh removes, so replacing a relation no longer fails withCANNOT_DROP_TAGGED_COLUMNwhen a removed column carries a governed tag by @sd-db in #1707 (resolves #1684) - Load wide seeds faster by resolving the placeholder and
parquetcast types once per seed instead of once per cell by @sd-db in #1722 - Stop materialized views with a Compatibility Mode location from being dropped and lost when
use_safer_relation_operationsor apartition_bychange would recreate them at the same location. Unchanged partitions now useCREATE OR REPLACE, and location or partition changes fail before anything is dropped by @sd-db in #1727 - Make the new table visible to the model's post-hooks and the rest of the run when a table or incremental model replaces a view, materialized view, or streaming table by @sd-db in #1708
- Stop
dbt clonefrom failing on Unity Catalog tables with a row filter or column mask, which can't be shallow-cloned; they now clone as a view over the deferred table that applies its policies for whoever queries it by @sd-db in #1745 - Stop
dbt clonefrom failing on materialized views with a row filter and streaming tables with a row filter or column mask by @sd-db in #1744 - Stop
dbt clonefrom failing on views whose enforced contract changed since the deferred state by @sd-db in #1742 (resolves #1349) - Make
is_string(),is_number(),is_integer(),is_float(), andis_numeric()recognize Databricks column types such asstring,int,tinyint, anddecimal(p,s)by @sd-db in #1726 (resolves #1380) - Hide credential-like keys nested inside
session_propertiesfromdbt debugconnection output by @sd-db in #1728 (resolves #1724) - Fix unit tests and direct
get_columns_in_querycalls failing withPARSE_SYNTAX_ERRORwhen a model's SQL ends with a semicolon by @sd-db in #1729 (resolves #1725)
Under the Hood
- Allow
dbt-core1.12.7 by @sd-db in #1776 - Allow
databricks-sql-connector4.9.x (upper bound raised to<4.9.1) and keep theenable_dbt_telemetryserver-flag check working with connector 4.7.0+ by @sd-db in #1768 - Raise the
databricks-sdkupper bound to<0.158.0by @sd-db in #1770 - Allow
packaging26.x (upper bound raised to<27.0) by @sd-db in #1777
New Contributors
- @emrekabalcii made their first contribution in #1749
Full Changelog: v1.13.0...v1.13.1