From 6b37cc57d7068b3de65b22e558a769e580412f28 Mon Sep 17 00:00:00 2001 From: Shyamala Jayabalan Date: Wed, 31 Jul 2024 12:53:41 -0400 Subject: [PATCH] Update functions.scala Added functions.json_tuple functions.cbrt functions.from_json functions.date_sub --- .../com/snowflake/snowpark/functions.scala | 253 +++++++++--------- 1 file changed, 126 insertions(+), 127 deletions(-) diff --git a/src/main/scala/com/snowflake/snowpark/functions.scala b/src/main/scala/com/snowflake/snowpark/functions.scala index cc3b32dd..68bb8dc5 100644 --- a/src/main/scala/com/snowflake/snowpark/functions.scala +++ b/src/main/scala/com/snowflake/snowpark/functions.scala @@ -3139,7 +3139,132 @@ object functions { * @group agg_func */ def listagg(col: Column): Column = listagg(col, "", isDistinct = false) +/** + * This leverages JSON_EXTRACT_PATH_TEXT and improves functionality by allowing multiple columns + * in a single call, whereas JSON_EXTRACT_PATH_TEXT must be called once for every column. + * + * NOTE: + *