From 2a65072eb55846d5afab6aa823b1d56d1cd2809f Mon Sep 17 00:00:00 2001 From: Jeremy Cohen Date: Tue, 7 Jan 2020 11:26:06 -0500 Subject: [PATCH] Rm snowflake refresh bc refresh_on_create default true --- macros/external/stage_external_sources.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/macros/external/stage_external_sources.sql b/macros/external/stage_external_sources.sql index 29391b98..843ef155 100644 --- a/macros/external/stage_external_sources.sql +++ b/macros/external/stage_external_sources.sql @@ -15,7 +15,7 @@ {%- do run_queue.append(create_external_table(node)) -%} - {%- if node.external.partitions and target.type != 'spark' -%} + {%- if node.external.partitions and target.type == 'redshift' -%} {%- set run_queue = run_queue + refresh_external_table(node).split(';') -%} {%- endif -%}