File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77-- use fivetran_utils by default
88{% macro default__json_extract(string, string_path) %}
99
10- fivetran_utils .json_extract (string, string_path)
10+ {{ fivetran_utils .json_extract (string, string_path) }}
1111
1212{% endmacro %}
Original file line number Diff line number Diff line change 66
77-- use fivetran_utils by default
88{% macro default__percentile(percentile_field, partition_field, percent) %}
9- fivetran_utils .percentile (percentile_field, partition_field, percent)
9+ {{ fivetran_utils .percentile (percentile_field, partition_field, percent) }}
1010{% endmacro %}
1111
Original file line number Diff line number Diff line change @@ -90,11 +90,11 @@ think none as infinity
9090
9191{% macro default__in_date_window(target, start_date, end_date) %}
9292 {% if start_date is not none and end_date is not none %}
93- {{target}} between {{start_date}} and {{end_date}}
93+ {{target}} between ' {{start_date}}' and ' {{end_date}}'
9494 {% elif start_date is none %}
95- {{target}} <= {{end_date}}
95+ {{target}} <= ' {{end_date}}'
9696 {% elif end_date is none %}
97- {{target}} >= {{start_date}}
97+ {{target}} >= ' {{start_date}}'
9898 {% endif %}
9999{% endmacro %}
100100
You can’t perform that action at this time.
0 commit comments