dbt Constraints v0.3.1
New Features
None
Fixes
- Added logic to skip constraints when a test has a
where
set on the test. You can't set conditions on whether a PK/UK/FK applies so such tests are not appropriate to make into physical constraints - Updated the logic to support table alias
- Added a fix that caused dbt Constraints to fail when a user has a singular test. The logic needs to verify a test_metadata node exists before checking the test_metadata.name node to see if it is a supported test to turn into a constraint.
Known issues
None
Full Changelog: 0.3.0...0.3.1