dbt-synapse
dbt-synapse copied to clipboard
create_view_as - Show contracts warning only when contract_config.enf…
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
@prdpsvs let me know if you need anything else for this PR