You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched the existing issues, and I could not find an existing issue for this bug
Current Behavior
exceptions.py has a lot of duplicated errors for source_target_not_found, metric_target_not_found and exposure_target_not_found. exposure_target_not_found is actually not needed since an exposure is never a target.
Additionally, metric_target_not_found was not passing in disabled so the error message would never explicitly say it was disabled, it instead included the less specific wording was not found or is disabled.
This was noticed while working on #5957. It feels separate from that work, but related. Doing as a separate PR to reduce PR size for #5957.
Expected Behavior
Exceptions are simpler produce specific messages.
The text was updated successfully, but these errors were encountered:
github-actionsbot
changed the title
[Bug] disabled flag not implemented for some metrics error messages
[CT-1312] [Bug] disabled flag not implemented for some metrics error messages
Oct 7, 2022
Is this a new bug in dbt-core?
Current Behavior
exceptions.py
has a lot of duplicated errors forsource_target_not_found
,metric_target_not_found
andexposure_target_not_found
.exposure_target_not_found
is actually not needed since an exposure is never a target.Additionally,
metric_target_not_found
was not passing indisabled
so the error message would never explicitly say it was disabled, it instead included the less specific wordingwas not found or is disabled
.This was noticed while working on #5957. It feels separate from that work, but related. Doing as a separate PR to reduce PR size for #5957.
Expected Behavior
Exceptions are simpler produce specific messages.
The text was updated successfully, but these errors were encountered: