ReleaseSnowflake (Arctic)Snowflake (Arctic)published Sep 30, 2024seen 5d

Snowflake-Labs/dbt_constraints 1.0.4

Snowflake-Labs/dbt_constraints

Open original ↗

Captured source

source ↗
published Sep 30, 2024seen 5dcaptured 13hhttp 200method plain

dbt Constraints v1.0.4

Repository: Snowflake-Labs/dbt_constraints

Tag: 1.0.4

Published: 2024-09-30T17:17:54Z

Prerelease: no

Release notes:

What's Changed

  • Added additional logic to detect when a table exists before creating constraints. The code was previously trying to create UK and FK on parent tables when the child is selected and the parent has not yet been created. @sfc-gh-dflippo in https://github.com/Snowflake-Labs/dbt_constraints/pull/81
  • Also identified where the macro could fail when a model fails. Now if there is a SQL issue with a model, the macro will correctly skip constraints for that model. In the process also hardened the code by checking whether more attributes exist for tests in the results and metadata.

Full Changelog: https://github.com/Snowflake-Labs/dbt_constraints/compare/1.0.3...1.0.4

Notability

notability 3.0/10

Minor dbt package release, low traction