From f1b129935b5989a963e264e01eb53404b76a5015 Mon Sep 17 00:00:00 2001 From: drethereum Date: Mon, 22 May 2023 17:16:19 -0600 Subject: [PATCH] ref on functions --- macros/streamline/configs.yaml.sql | 4 ++-- macros/streamline/utils.sql | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/macros/streamline/configs.yaml.sql b/macros/streamline/configs.yaml.sql index 471371e..2f9d8d6 100644 --- a/macros/streamline/configs.yaml.sql +++ b/macros/streamline/configs.yaml.sql @@ -15,7 +15,7 @@ RUNTIME_VERSION = '3.8' HANDLER = 'hex_to_int' sql: | - {{ python_hex_to_int() | indent(4) }} + {{ reference_models.python_hex_to_int() | indent(4) }} - name: utils.udf_hex_to_int signature: - [encoding, STRING] @@ -28,7 +28,7 @@ RUNTIME_VERSION = '3.8' HANDLER = 'hex_to_int' sql: | - {{ python_udf_hex_to_int_with_encoding() | indent(4) }} + {{ reference_models.python_udf_hex_to_int_with_encoding() | indent(4) }} - name: utils.udf_hex_to_string signature: diff --git a/macros/streamline/utils.sql b/macros/streamline/utils.sql index 04e28e5..37dc6cf 100644 --- a/macros/streamline/utils.sql +++ b/macros/streamline/utils.sql @@ -66,7 +66,7 @@ {% set func_type = config ["func_type"] %} {% if not drop_ -%} - {{ create_sql_function( + {{ reference_models.create_sql_function( name_ = name_, signature = signature, return_type = return_type,