Skip to content

Commit b1f19e5

Browse files
Use node.compiled_code for dbt-core>=v1.3.0 (#113)
Co-authored-by: Pankaj Saini <93124714+psaini-qontigo@users.noreply.github.com>
1 parent 72e3196 commit b1f19e5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

macros/run_end/save_results_history.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@
9191
'failures_json': '' ~ failures_list,
9292
'failures_table': el.node.relation_name or none,
9393
'severity': el.node.config.severity,
94-
'compiled_sql': el.node.compiled_sql or none,
94+
'compiled_sql': el.node.compiled_sql or el.node.compiled_code or none,
9595
'run_at': run_started_at_str,
9696
})
9797
}}

0 commit comments

Comments
 (0)