From de75ff08b60d5f4862a047410c74b4d71f2c2d5e Mon Sep 17 00:00:00 2001 From: Shyamala Jayabalan Date: Fri, 2 Aug 2024 14:58:49 -0400 Subject: [PATCH] Update functions.scala --- src/main/scala/com/snowflake/snowpark/functions.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/scala/com/snowflake/snowpark/functions.scala b/src/main/scala/com/snowflake/snowpark/functions.scala index b6903065..1bc1c70f 100644 --- a/src/main/scala/com/snowflake/snowpark/functions.scala +++ b/src/main/scala/com/snowflake/snowpark/functions.scala @@ -3270,7 +3270,7 @@ object functions { * when the conversion can not be performed. * The column argument must be a string column in Snowflake. */ - def try_cast(e : Column,targetType: Column): Column = { + def try_cast(e : Column,targetType: String): Column = { try_cast(e,targetType()) } /**