Skip to content

Commit

Permalink
Allow nulls in udf_api
Browse files Browse the repository at this point in the history
Refactor macros/core/_live.yaml.sql and macros/core/live.yaml.sql options
  • Loading branch information
juls858 committed Apr 10, 2024
1 parent 883675b commit 55a17bd
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 17 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 %}
17 changes: 1 addition & 16 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,9 +127,8 @@
func_type: EXTERNAL
api_integration: '{{ var("API_INTEGRATION") }}'
options: |
NOT NULL
RETURNS NULL ON NULL INPUT
VOLATILE
RETURNS NULL ON NULL INPUT
COMMENT = $$Returns a list of allowed domains.$$
sql: allowed
{% endmacro %}

0 comments on commit 55a17bd

Please sign in to comment.