Skip to content

Commit

Permalink
adding in support for views
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-aseitz committed Apr 28, 2020
1 parent f930f6c commit d846609
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions plugins/snowflake/dbt/include/snowflake/macros/adapters.sql
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,12 @@
{%- set raw_persist_docs = config.get('persist_docs', {}) -%}
{%- set relation_comment = get_relation_comment(raw_persist_docs, model) -%}
<<<<<<< HEAD
<<<<<<< HEAD
=======
{%- set column_comment = get_relation_column_comments(raw_persist_docs, model) -%}
>>>>>>> ff65dbdd... adding in Drews feedback
=======
>>>>>>> 7964d517... adding in support for views

{{ sql_header if sql_header is not none }}
create or replace {% if secure -%}
Expand All @@ -69,16 +72,23 @@
{{ sql }}
);
<<<<<<< HEAD
<<<<<<< HEAD

<<<<<<< HEAD
=======

>>>>>>> 7964d517... adding in support for views
{% if relation_comment is not none -%}
{{ alter_relation_comment(relation, relation_comment) }}
{%- endif -%}

<<<<<<< HEAD
=======
>>>>>>> ff65dbdd... adding in Drews feedback
=======
>>>>>>> 4a84a256... fixing spacing
=======
>>>>>>> 7964d517... adding in support for views
{% endmacro %}

{% macro snowflake__get_columns_in_relation(relation) -%}
Expand Down

0 comments on commit d846609

Please sign in to comment.