dbt-synapse icon indicating copy to clipboard operation
dbt-synapse copied to clipboard

create_view_as - Show contracts warning only when contract_config.enf…

Open baldwicc opened this issue 1 year ago • 1 comments

The Model contracts cannot be enforced warning should only be logged if contract_config.enforced is set.

This change mimics the behavour that exists in create_table_as.sql#L17 and follows guidance from the v1.5 adapter change notes: https://github.com/dbt-labs/dbt-core/discussions/7213#discussion-4992837

baldwicc avatar Mar 07 '24 05:03 baldwicc

@prdpsvs let me know if you need anything else for this PR

baldwicc avatar Apr 17 '24 06:04 baldwicc