From 7607c497f370ef77877b23289cd3df7b89a5d790 Mon Sep 17 00:00:00 2001 From: Julius Remigio <14811322+juls858@users.noreply.github.com> Date: Tue, 23 Jan 2024 11:48:31 -0800 Subject: [PATCH] use variant datatype instead of object --- macros/core/_live.yaml.sql | 2 +- macros/core/live.yaml.sql | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/macros/core/_live.yaml.sql b/macros/core/_live.yaml.sql index e1fa6d54..5a698a80 100644 --- a/macros/core/_live.yaml.sql +++ b/macros/core/_live.yaml.sql @@ -5,7 +5,7 @@ - [method, STRING] - [url, STRING] - [headers, OBJECT] - - [DATA, OBJECT] + - [DATA, VARIANT] - [user_id, STRING] - [SECRET, STRING] return_type: VARIANT diff --git a/macros/core/live.yaml.sql b/macros/core/live.yaml.sql index 32b53466..e5988f00 100644 --- a/macros/core/live.yaml.sql +++ b/macros/core/live.yaml.sql @@ -5,7 +5,7 @@ - [method, STRING] - [url, STRING] - [headers, OBJECT] - - [data, OBJECT] + - [data, VARIANT] - [secret_name, STRING] return_type: VARIANT options: | @@ -27,7 +27,7 @@ - [method, STRING] - [url, STRING] - [headers, OBJECT] - - [data, OBJECT] + - [data, VARIANT] return_type: VARIANT options: | NOT NULL @@ -46,7 +46,7 @@ - name: {{ schema }}.udf_api signature: - [url, STRING] - - [data, OBJECT] + - [data, VARIANT] return_type: VARIANT options: | NOT NULL @@ -65,7 +65,7 @@ - name: {{ schema }}.udf_api signature: - [url, STRING] - - [data, OBJECT] + - [data, VARIANT] - [secret_name, STRING] return_type: VARIANT options: |