[Bug] Skip SavedQuery node would cause dbt-core to error out on the node #10029
Labels
bug
Something isn't working
Impact: SL
Medium Severity
bug with minor impact that does not have resolution timeframe requirement
Is this a new bug in dbt-core?
Current Behavior
When a node upstream of a SavedQuery node fails and lead to SavedQuery node being skipped(vs NO-OP), dbt-core will raise an error saying
Exception on worker thread. 'SavedQuery' object has no attribute 'schema'
.Please see additional context section
Expected Behavior
SavedQuery node properly skipped
Steps To Reproduce
dbt build
Relevant log output
Environment
Which database adapter are you using with dbt?
No response
Additional Context
If you set a breakpoint at on_skip function, you will find that Saved Query node do not have Schema. I don't think we ever had that attribute on
SavedQuery
node.The text was updated successfully, but these errors were encountered: