From 524a19a3a7b433315b9cdab6f57854a75cb9e2b3 Mon Sep 17 00:00:00 2001 From: Yasuhisa Yoshida Date: Mon, 4 Nov 2024 08:05:31 +0900 Subject: [PATCH] add create_or_update_data_profile_scan to table materialization --- dbt/include/bigquery/macros/materializations/table.sql | 1 + 1 file changed, 1 insertion(+) diff --git a/dbt/include/bigquery/macros/materializations/table.sql b/dbt/include/bigquery/macros/materializations/table.sql index 41bb69770..2273d4794 100644 --- a/dbt/include/bigquery/macros/materializations/table.sql +++ b/dbt/include/bigquery/macros/materializations/table.sql @@ -40,6 +40,7 @@ {% do apply_grants(target_relation, grant_config, should_revoke) %} {% do persist_docs(target_relation, model) %} + {% do adapter.create_or_update_data_profile_scan(model) %} {{ return({'relations': [target_relation]}) }}