Skip to content

Commit

Permalink
Update dbt/include/trino/macros/adapters.sql
Browse files Browse the repository at this point in the history
Co-authored-by: Damian Owsianny <[email protected]>
  • Loading branch information
Fokko and damian3031 authored Sep 15, 2023
1 parent f8407f4 commit 7e75813
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dbt/include/trino/macros/adapters.sql
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@

{% macro comment(comment) %}
{%- set persist_docs = model['config'].get('persist_docs') -%}
{%- if persist_docs is not none -%}
{%- if persist_docs -%}
{%- set persist_relation = persist_docs.get('relation') -%}
{%- if persist_relation and comment is not none and comment|length > 0 -%}
comment '{{ comment | replace("'", "''") }}'
Expand Down

0 comments on commit 7e75813

Please sign in to comment.