Skip to content

Commit

Permalink
aws_sns_topic property needs to be quoted in create or replace pipe s…
Browse files Browse the repository at this point in the history
…tatement according to doc
  • Loading branch information
ynosa committed Jul 7, 2020
1 parent 8a57cfb commit ec11e4c
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 ec11e4c

Please sign in to comment.