From 19ed8dd4ab198890fc1f634441f06c0d8d5a30b3 Mon Sep 17 00:00:00 2001 From: Ben Cassell <98852248+benc-db@users.noreply.github.com> Date: Wed, 17 Jul 2024 08:56:11 -0700 Subject: [PATCH] Adding more tblproperties to ignore list for streaming tables (#736) --- CHANGELOG.md | 8 +++++++- .../databricks/relation_configs/tblproperties.py | 10 ++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 838cf23ab..bbf39aecd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,12 @@ -## dbt-databricks next +## dbt-databricks 1.8.4 (TBD) + +### Fixes - Fix `dbt seed` command failing for a seed file when the columns for that seed file were partially defined in the properties file. (thanks @kass-artur!) ([724](https://github.com/databricks/dbt-databricks/pull/724)) +- Add more tblproperties to be ignored with MV/ST ([736](https://github.com/databricks/dbt-databricks/pull/736)) + +### Under the Hood + - Readd the External relation type for compliance with adapter expectations ([728](https://github.com/databricks/dbt-databricks/pull/728)) ## dbt-databricks 1.8.3 (June 25, 2024) diff --git a/dbt/adapters/databricks/relation_configs/tblproperties.py b/dbt/adapters/databricks/relation_configs/tblproperties.py index b2e249a0b..30a5911d7 100644 --- a/dbt/adapters/databricks/relation_configs/tblproperties.py +++ b/dbt/adapters/databricks/relation_configs/tblproperties.py @@ -29,6 +29,16 @@ class TblPropertiesConfig(DatabricksComponentConfig): "pipelines.metastore.tableName", "pipeline_internal.enzymeMode", "clusteringColumns", + "delta.enableRowTracking", + "delta.feature.appendOnly", + "delta.feature.changeDataFeed", + "delta.feature.checkConstraints", + "delta.feature.domainMetadata", + "delta.feature.generatedColumns", + "delta.feature.invariants", + "delta.feature.rowTracking", + "delta.rowTracking.materializedRowCommitVersionColumnName", + "delta.rowTracking.materializedRowIdColumnName", ] def __eq__(self, __value: Any) -> bool: