Skip to content

Commit 42efeac

Browse files
authored
Fixed to run a COUNT instead of full scan
1 parent b1840f9 commit 42efeac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

macros/tables/snowflake/rec_track_sat.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ WITH
8181
{%- set source_in_target = true -%}
8282

8383
{%- if execute -%}
84-
{%- set rsrc_static_result = run_query(rsrc_static_query_source) -%}
84+
{%- set rsrc_static_result = run_query(rsrc_static_query_source_count) -%}
8585

8686
{%- set row_count = rsrc_static_result.columns[0].values()[0] -%}
8787

0 commit comments

Comments
 (0)