cmt on udfs

This commit is contained in:
Jack Forgash 2025-02-04 16:05:07 -07:00
parent 04b677afe8
commit 1ae4a6095b
2 changed files with 7 additions and 5 deletions

View File

@ -11,15 +11,15 @@
{{ create_udf_s3_copy_objects_overwrite() }}
{{ create_UDTF_CALL_CONTRACT_FUNCTION() }}
{{ create_UDTF_CALL_CONTRACT_FUNCTION_BY_HEIGHT() }}
-- Required for Streamline Pipeline
{{ create_UDF_GET_CHAINHEAD() }}
{{ create_udf_extract_hash_array() }}
-- Todo - add call to fsc_utils create_udfs and create_streamline_udfs in here ?
{% endset %}
{% do run_query(sql) %}
{% set utils_sql %}
{{ fsc_utils.create_udfs() }}
{% endset %}
{% do run_query(utils_sql) %}
{% endif %}
{% endmacro %}

View File

@ -1,3 +1,5 @@
-- todo, what if we receive a bad response?
-- ask for backend deployment?
{% macro create_UDF_GET_CHAINHEAD() %}
{% set sql %}
CREATE