Skip to content

Commit

Permalink
Readd removed newline
Browse files Browse the repository at this point in the history
  • Loading branch information
mattharder91 committed May 3, 2024
1 parent b6e46be commit 805d80e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions spark/src/test/scala/org/apache/comet/CometCastSuite.scala
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 805d80e

Please sign in to comment.