You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: airbyte-integrations/bases/base-normalization/dbt-project-template/macros/cross_db_utils/json_operations.sql
case when {{ json_column }}.{{ format_json_path(json_path_list) }} !='' then {{ json_column }}.{{ format_json_path(json_path_list) }} end
123
+
{%- else -%}
118
124
case when json_extract_path_text({{ json_column }}, {{ format_json_path(json_path_list) }}, true) !='' then json_extract_path_text({{ json_column }}, {{ format_json_path(json_path_list) }}, true) end
119
-
{% else %}
120
-
case when json_extract_path_text({{ from_table }}.{{ json_column }}, {{ format_json_path(json_path_list) }}, true) !='' then json_extract_path_text({{ from_table }}.{{ json_column }}, {{ format_json_path(json_path_list) }}, true) end
case when {{ json_column }}.{{ format_json_path(json_path_list) }} !='' then {{ json_column }}.{{ format_json_path(json_path_list) }} end
177
+
{%- else -%}
171
178
case when json_extract_path_text({{ json_column }}, {{ format_json_path(json_path_list) }}, true) !='' then json_extract_path_text({{ json_column }}, {{ format_json_path(json_path_list) }}, true) end
0 commit comments