No Metadata check supported for SQL input type under Unit Test #10666
VinhTruongDBT
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Describe the Feature & Concerns
Currently, unit tests do not perform metadata checks against any model for SQL input types, unlike for dictionary and CSV formats. This oversight results in unit tests passing even when users input incorrect column names (i.e., non-existent columns)
Outcome
Unit test pass without error
**PASS = 1** WARN = 0 ERROR = 0 SKIP=0 TOTAL= 1
Expected Outcome
Unit test failed with error column temp_id does not exsited .
Describe alternatives you've considered
A meta data check is required for SQL input format like csv and dictionary.
Who will this benefit?
Users will conduct unit test in DBT under SQL input type format
Are you interested in contributing this feature?
we would love further advancing this features if needed
Beta Was this translation helpful? Give feedback.
All reactions