Skip to content

Commit

Permalink
STREAM-844 Refactor macros/core/live.yaml.sql options and add null su…
Browse files Browse the repository at this point in the history
…pport 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
  • Loading branch information
juls858 authored Apr 12, 2024
1 parent 883675b commit 89225ab
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 16 deletions.
1 change: 0 additions & 1 deletion macros/core/_live.yaml.sql
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,5 @@
api_integration: '{{ var("API_INTEGRATION") }}'
options: |
NOT NULL
RETURNS NULL ON NULL INPUT
sql: udf_api
{% endmacro %}
15 changes: 0 additions & 15 deletions macros/core/live.yaml.sql
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@
- [secret_name, STRING]
return_type: VARIANT
options: |
NOT NULL
RETURNS NULL ON NULL INPUT
VOLATILE
sql: |
SELECT
Expand All @@ -30,8 +28,6 @@
- [data, VARIANT]
return_type: VARIANT
options: |
NOT NULL
RETURNS NULL ON NULL INPUT
VOLATILE
sql: |
SELECT
Expand All @@ -49,8 +45,6 @@
- [data, VARIANT]
return_type: VARIANT
options: |
NOT NULL
RETURNS NULL ON NULL INPUT
VOLATILE
sql: |
SELECT
Expand All @@ -69,8 +63,6 @@
- [secret_name, STRING]
return_type: VARIANT
options: |
NOT NULL
RETURNS NULL ON NULL INPUT
VOLATILE
sql: |
SELECT
Expand All @@ -87,8 +79,6 @@
- [url, STRING]
return_type: VARIANT
options: |
NOT NULL
RETURNS NULL ON NULL INPUT
VOLATILE
sql: |
SELECT
Expand All @@ -106,8 +96,6 @@
- [secret_name, STRING]
return_type: VARIANT
options: |
NOT NULL
RETURNS NULL ON NULL INPUT
VOLATILE
sql: |
SELECT
Expand All @@ -128,8 +116,6 @@
- [parameters, VARIANT]
return_type: VARIANT
options: |
NOT NULL
RETURNS NULL ON NULL INPUT
VOLATILE
COMMENT = $$Executes an JSON RPC call on a blockchain.$$
sql: |
Expand All @@ -141,7 +127,6 @@
func_type: EXTERNAL
api_integration: '{{ var("API_INTEGRATION") }}'
options: |
NOT NULL
RETURNS NULL ON NULL INPUT
VOLATILE
COMMENT = $$Returns a list of allowed domains.$$
Expand Down

0 comments on commit 89225ab

Please sign in to comment.