Skip to content

Commit

Permalink
add link to follow-on issue
Browse files Browse the repository at this point in the history
  • Loading branch information
andygrove committed Apr 19, 2024
1 parent 588bc3b commit 3e7f273
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spark/src/test/scala/org/apache/comet/CometCastSuite.scala
Original file line number Diff line number Diff line change
Expand Up @@ -152,8 +152,8 @@ class CometCastSuite extends CometTestBase with AdaptiveSparkPlanHelper {
val df = data.withColumn("converted", col("a").cast(toType))
val (expected, actual) = checkSparkThrows(df)

// TODO we have to strip off a prefix that is added by DataFusion and it would be nice
// to stop this being added
// We have to workaround https://github.com/apache/datafusion-comet/issues/293 here by
// removing the "Execution error: " error message prefix that is added by DataFusion
assert(expected.getMessage == actual.getMessage.substring("Execution error: ".length))

// try_cast() should always return null for invalid inputs
Expand Down

0 comments on commit 3e7f273

Please sign in to comment.