Skip to content

Commit

Permalink
Use node.compiled_code for dbt-core>=v1.3.0 (#113)
Browse files Browse the repository at this point in the history
Co-authored-by: Pankaj Saini <93124714+psaini-qontigo@users.noreply.github.com>
  • Loading branch information
redpin-pankaj and redpin-pankaj authored Nov 18, 2023
1 parent 72e3196 commit b1f19e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion macros/run_end/save_results_history.sql
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
'failures_json': '' ~ failures_list,
'failures_table': el.node.relation_name or none,
'severity': el.node.config.severity,
'compiled_sql': el.node.compiled_sql or none,
'compiled_sql': el.node.compiled_sql or el.node.compiled_code or none,
'run_at': run_started_at_str,
})
}}
Expand Down

0 comments on commit b1f19e5

Please sign in to comment.