Skip to content

Commit 94768b1

Browse files
authored
Merge pull request #542 from dbt-labs/fix-quoted-columns
2 parents 15321e8 + 1782270 commit 94768b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

macros/unpack/get_column_values.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
[
2323
wrap_string_with_quotes(node.unique_id),
2424
wrap_string_with_quotes(dbt.escape_single_quotes(column.name)),
25-
wrap_string_with_quotes(dbt.escape_single_quotes(column.description) | replace("\\","\\\\") ),
25+
wrap_string_with_quotes(dbt.escape_single_quotes(column.description | replace("\\","\\\\"))),
2626
wrap_string_with_quotes(dbt.escape_single_quotes(column.data_type)),
2727
wrap_string_with_quotes(dbt.escape_single_quotes(tojson(column.constraints))),
2828
column.constraints | selectattr('type', 'equalto', 'not_null') | list | length > 0,

0 commit comments

Comments
 (0)