We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cb7085e commit 96cb380Copy full SHA for 96cb380
1 file changed
macros/run_end/save_results_history.sql
@@ -40,6 +40,9 @@
40
41
{% if any_refs %}
42
{% set name = any_refs[0] %}
43
+ -- NOTE: This relies on snapshot models to include the word "snapshot" in the model name.
44
+ -- There doesn't seem to be an easily accessible field to tell us that this node is a snapshot
45
+ -- without relying on the name or other proxies.
46
{% if "snapshot" in name %}
47
{% set ref_type = "snapshot" %}
48
{% else %}
0 commit comments