The macro implementation at
|
{%- macro get_create_sql_comment(comment) -%} |
|
{% if comment is string -%} |
|
COMMENT '{{ comment }}' |
|
{%- endif -%} |
|
{%- endmacro -%} |
which is used to generate some relation comment clauses when
persist_docs.relation is true, does not properly escape single quotes.
The macro implementation at
dbt-databricks/dbt/include/databricks/macros/relations/components/comment.sql
Lines 1 to 5 in 8cda62e
persist_docs.relationis true, does not properly escape single quotes.