Skip to content

New validation for to/from column length and PK/UK/Join field referen…#170

Open
stephen-thibeault-dbt wants to merge 1 commit into
apache:mainfrom
thibeaults96:main
Open

New validation for to/from column length and PK/UK/Join field referen…#170
stephen-thibeault-dbt wants to merge 1 commit into
apache:mainfrom
thibeaults96:main

Conversation

@stephen-thibeault-dbt

Copy link
Copy Markdown

This PR 2 concepts to the validation script:

  • Checks that the to_cols and from_cols lists are the same length when defining relations
  • Checks that all referenced columns in relationships, unique keys, and primary keys are listed as fields

It also adds 9 tests for the newly added validations.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant