-- Macro to call EUDF stored in snowflake
-- id, created_datetime, updated_datetime, reference, address_1, address_2, postcode, district, state, country
{%- macro address_to_coordinates(column1, column2, column3, column4, column5) -%}
    PARSE_JSON( GLOBAL_FUNCTION.EUDF.ECHO_ADDRESS_TO_COORDINATES({{column1}}, {{column2}}, {{column3}}, {{column4}}, {{column5}}) )
{%- endmacro -%}
