From 805d80eeb24d6b53936c288704a6ab360cd22419 Mon Sep 17 00:00:00 2001 From: mattharder91 Date: Fri, 3 May 2024 19:24:15 +0200 Subject: [PATCH] Readd removed newline --- spark/src/test/scala/org/apache/comet/CometCastSuite.scala | 1 + 1 file changed, 1 insertion(+) diff --git a/spark/src/test/scala/org/apache/comet/CometCastSuite.scala b/spark/src/test/scala/org/apache/comet/CometCastSuite.scala index a56452e99..91da21bd6 100644 --- a/spark/src/test/scala/org/apache/comet/CometCastSuite.scala +++ b/spark/src/test/scala/org/apache/comet/CometCastSuite.scala @@ -897,6 +897,7 @@ class CometCastSuite extends CometTestBase with AdaptiveSparkPlanHelper { assert(cometMessage.contains(sparkInvalidValue)) } } + // try_cast() should always return null for invalid inputs val df2 = spark.sql(s"select a, try_cast(a as ${toType.sql}) from t order by a")