Skip to content

Commit d1c3a94

Browse files
committed
Modify parse_json macro to use try
1 parent 3afcfbd commit d1c3a94

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

macros/database_specific_helpers/parse_json.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
{%- endmacro %}
88

99
{% macro snowflake__parse_json(field) -%}
10-
parse_json({{ field }})
10+
try_parse_json({{ field }})
1111
{%- endmacro %}
1212

1313
{% macro bigquery__parse_json(field) -%}

0 commit comments

Comments
 (0)