livequery-base/macros/core/_live.yaml.sql
Julius Remigio 89225abbcc
STREAM-844 Refactor macros/core/live.yaml.sql options and add null support in udf_api (#92)
* Allow nulls  in udf_api
Refactor macros/core/_live.yaml.sql and macros/core/live.yaml.sql options

* Refactor macros/core/live.yaml.sql options and add null support in udf_api
2024-04-11 19:53:48 -07:00

17 lines
375 B
SQL

{% macro config_core__live(schema="_live") %}
- name: {{ schema }}.udf_api
signature:
- [method, STRING]
- [url, STRING]
- [headers, OBJECT]
- [DATA, VARIANT]
- [user_id, STRING]
- [SECRET, STRING]
return_type: VARIANT
func_type: EXTERNAL
api_integration: '{{ var("API_INTEGRATION") }}'
options: |
NOT NULL
sql: udf_api
{% endmacro %}