diff --git a/macros/tables/snowflake/rec_track_sat.sql b/macros/tables/snowflake/rec_track_sat.sql index 18260bda..19483e34 100644 --- a/macros/tables/snowflake/rec_track_sat.sql +++ b/macros/tables/snowflake/rec_track_sat.sql @@ -81,7 +81,7 @@ WITH {%- set source_in_target = true -%} {%- if execute -%} - {%- set rsrc_static_result = run_query(rsrc_static_query_source) -%} + {%- set rsrc_static_result = run_query(rsrc_static_query_source_count) -%} {%- set row_count = rsrc_static_result.columns[0].values()[0] -%}