Skip to content

Commit

Permalink
Disambiguate FreshnessConfigProblem error message (#9891)
Browse files Browse the repository at this point in the history
  • Loading branch information
MichelleArk authored Apr 12, 2024
1 parent 6fee361 commit 99d033f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .changes/unreleased/Fixes-20240412-095718.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
kind: Fixes
body: Disambiguiate FreshnessConfigProblem error message
time: 2024-04-12T09:57:18.417882-07:00
custom:
Author: michelleark
Issue: "9891"
2 changes: 1 addition & 1 deletion core/dbt/parser/sources.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ def parse_source(self, target: UnpatchedSourceDefinition) -> SourceDefinition:
# runtime.
fire_event(
FreshnessConfigProblem(
msg=f"The configured adapter does not support metadata-based freshness. A loaded_at_field must be specified for source '{source.name}'."
msg=f"The configured adapter does not support metadata-based freshness. A loaded_at_field must be specified for source '{source.name}.{table.name}'."
)
)

Expand Down

0 comments on commit 99d033f

Please sign in to comment.