From dccbc12b2015f5437b5f36332c0c0998b58f023b Mon Sep 17 00:00:00 2001 From: "shyamala.jayabalan" Date: Tue, 20 Aug 2024 22:14:53 -0400 Subject: [PATCH] Modified format and test case --- src/test/scala/com/snowflake/snowpark_test/FunctionSuite.scala | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/test/scala/com/snowflake/snowpark_test/FunctionSuite.scala b/src/test/scala/com/snowflake/snowpark_test/FunctionSuite.scala index c086eaf3..a5327289 100644 --- a/src/test/scala/com/snowflake/snowpark_test/FunctionSuite.scala +++ b/src/test/scala/com/snowflake/snowpark_test/FunctionSuite.scala @@ -2337,8 +2337,9 @@ trait FunctionSuite extends TestData { } test("unix_timestamp") { + val expected = Seq(1368056360).toDF("epoch") val data = Seq(Timestamp.valueOf("2013-05-08 23:39:20.123")).toDF("a") - checkAnswer(data.select(unix_timestamp(col("a"))), Seq(Row("1368056360")), sort = false) + checkAnswer(data.select(unix_timestamp(col("a"))), expected, sort = false) } }