Skip to content

Commit

Permalink
Merge pull request #441 from brooklyn-data/bugfix/fix-parsing-error-f…
Browse files Browse the repository at this point in the history
…or-invalid-json

[FIX] Modify Snowflake parse_json macro usage
  • Loading branch information
llifoawing authored Sep 20, 2024
2 parents c350293 + fece08a commit 5e824d2
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 5e824d2

Please sign in to comment.