Skip to content

Commit ecdf5e5

Browse files
authored
add namespace to fivetran_utils macros, fix #103 (#104)
1 parent 90935a9 commit ecdf5e5

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

macros/utils/fivetran_utils/json_extract.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
{% macro json_extract(string, string_path) -%}
77

8-
{{ adapter.dispatch('json_extract') (string, string_path) }}
8+
{{ adapter.dispatch('json_extract','re_data') (string, string_path) }}
99

1010
{%- endmacro %}
1111

@@ -37,4 +37,4 @@
3737

3838
{{string}}::json->>{{"'" ~ string_path ~ "'" }}
3939

40-
{% endmacro %}
40+
{% endmacro %}

macros/utils/fivetran_utils/percentile.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
{% macro percentile(percentile_field, partition_field, percent) -%}
77

8-
{{ adapter.dispatch('percentile') (percentile_field, partition_field, percent) }}
8+
{{ adapter.dispatch('percentile','re_data') (percentile_field, partition_field, percent) }}
99

1010
{%- endmacro %}
1111

@@ -57,4 +57,4 @@
5757
over (partition by {{ partition_field }}
5858
)
5959

60-
{% endmacro %}
60+
{% endmacro %}

0 commit comments

Comments
 (0)