Skip to content

Commit

Permalink
Modify parse_json macro to use try
Browse files Browse the repository at this point in the history
  • Loading branch information
llifoawing committed Aug 16, 2024
1 parent 3afcfbd commit d1c3a94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion macros/database_specific_helpers/parse_json.sql
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
{%- endmacro %}

{% macro snowflake__parse_json(field) -%}
parse_json({{ field }})
try_parse_json({{ field }})
{%- endmacro %}

{% macro bigquery__parse_json(field) -%}
Expand Down

0 comments on commit d1c3a94

Please sign in to comment.