You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
'fabric__table_columns_and_constraints' is undefined
in macro create_table_as (macros\relations\table\create.sql)
called by macro default__get_create_table_as_sql (macros\relations\table\create.sql)
called by macro get_create_table_as_sql (macros\relations\table\create.sql)
called by macro statement (macros\etc\statement.sql)
called by macro materialization_table_fabric (macros\materializations\models\table\table.sql)
called by model apprenticeship_history (models\silver\success_factors\apprenticeship_history.sql)
The text was updated successfully, but these errors were encountered:
Initial work on dbt constraints using contracts. Items to note:
* contracts do not appear to be enforced if model schema.yml is namespaced with dbt_business_intelligence
* main fix here is addition of fabric__table_columns_and_constraints macro, which is a redirect to get around this issue: dbt-msft/dbt-sqlserver#494
models:
description: cust_apprenticeships
config:
unique_key: apprenticeship_history_hk
contract:
enforced: true
constraints:
columns:
name: pk_apprenticeship_history
generates the following error on build/run
'fabric__table_columns_and_constraints' is undefined
The text was updated successfully, but these errors were encountered: