Skip to content

Commit

Permalink
Put back report_node_data in fresshness.py
Browse files Browse the repository at this point in the history
  • Loading branch information
gshank committed Dec 3, 2021
1 parent e2a2753 commit 791564a
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions core/dbt/task/freshness.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@ def after_execute(self, result):
table_name=table_name,
index=self.node_index,
total=self.num_nodes,
execution_time=result.execution_time
execution_time=result.execution_time,
report_node_data=self.node
)
)
elif result.status == FreshnessStatus.Error:
Expand All @@ -69,7 +70,8 @@ def after_execute(self, result):
table_name=table_name,
index=self.node_index,
total=self.num_nodes,
execution_time=result.execution_time
execution_time=result.execution_time,
report_node_data=self.node
)
)
elif result.status == FreshnessStatus.Warn:
Expand All @@ -79,7 +81,8 @@ def after_execute(self, result):
table_name=table_name,
index=self.node_index,
total=self.num_nodes,
execution_time=result.execution_time
execution_time=result.execution_time,
report_node_data=self.node
)
)
else:
Expand All @@ -89,7 +92,8 @@ def after_execute(self, result):
table_name=table_name,
index=self.node_index,
total=self.num_nodes,
execution_time=result.execution_time
execution_time=result.execution_time,
report_node_data=self.node
)
)

Expand Down

0 comments on commit 791564a

Please sign in to comment.