Skip to content

Commit 96cb380

Browse files
cmardirosakshaykarle
authored andcommitted
Add comment
1 parent cb7085e commit 96cb380

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

macros/run_end/save_results_history.sql

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@
4040

4141
{% if any_refs %}
4242
{% 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.
4346
{% if "snapshot" in name %}
4447
{% set ref_type = "snapshot" %}
4548
{% else %}

0 commit comments

Comments
 (0)