Skip to content

Commit

Permalink
Merge pull request #31 from groveco/fix/snowpipe-arn-quoting
Browse files Browse the repository at this point in the history
aws_sns_topic property needs to be quoted in create or replace pipe  …
  • Loading branch information
jtcohen6 authored Jul 7, 2020
2 parents 8a57cfb + ec11e4c commit fd02c4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion macros/external/create_snowpipe.sql
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
{# https://docs.snowflake.com/en/sql-reference/sql/create-pipe.html #}
create or replace pipe {{source(source_node.source_name, source_node.name)}}
{% if snowpipe.auto_ingest -%} auto_ingest = {{snowpipe.auto_ingest}} {%- endif %}
{% if snowpipe.aws_sns_topic -%} aws_sns_topic = {{snowpipe.aws_sns_topic}} {%- endif %}
{% if snowpipe.aws_sns_topic -%} aws_sns_topic = '{{snowpipe.aws_sns_topic}}' {%- endif %}
{% if snowpipe.integration -%} integration = '{{snowpipe.integration}}' {%- endif %}
as {{ dbt_external_tables.snowflake_get_copy_sql(source_node) }}

Expand Down

0 comments on commit fd02c4e

Please sign in to comment.