Skip to content

Commit

Permalink
use variant datatype instead of object
Browse files Browse the repository at this point in the history
  • Loading branch information
juls858 committed Jan 23, 2024
1 parent 3f8b47a commit 7607c49
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion macros/core/_live.yaml.sql
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
- [method, STRING]
- [url, STRING]
- [headers, OBJECT]
- [DATA, OBJECT]
- [DATA, VARIANT]
- [user_id, STRING]
- [SECRET, STRING]
return_type: VARIANT
Expand Down
8 changes: 4 additions & 4 deletions macros/core/live.yaml.sql
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
- [method, STRING]
- [url, STRING]
- [headers, OBJECT]
- [data, OBJECT]
- [data, VARIANT]
- [secret_name, STRING]
return_type: VARIANT
options: |
Expand All @@ -27,7 +27,7 @@
- [method, STRING]
- [url, STRING]
- [headers, OBJECT]
- [data, OBJECT]
- [data, VARIANT]
return_type: VARIANT
options: |
NOT NULL
Expand All @@ -46,7 +46,7 @@
- name: {{ schema }}.udf_api
signature:
- [url, STRING]
- [data, OBJECT]
- [data, VARIANT]
return_type: VARIANT
options: |
NOT NULL
Expand All @@ -65,7 +65,7 @@
- name: {{ schema }}.udf_api
signature:
- [url, STRING]
- [data, OBJECT]
- [data, VARIANT]
- [secret_name, STRING]
return_type: VARIANT
options: |
Expand Down

0 comments on commit 7607c49

Please sign in to comment.