Skip to content

Commit

Permalink
Add update_event_status for skipp
Browse files Browse the repository at this point in the history
  • Loading branch information
jtcohen6 committed Jan 11, 2023
1 parent f8b190f commit ed880c1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions core/dbt/task/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -452,6 +452,9 @@ def on_skip(self):
)
)
else:
# 'skipped' nodes should not have a value for 'node_finished_at'
# they do have 'node_started_at', which is set in GraphRunnableTask.call_runner
self.node.update_event_status(node_status=RunStatus.Skipped)
fire_event(
SkippingDetails(
resource_type=self.node.resource_type,
Expand Down

0 comments on commit ed880c1

Please sign in to comment.