Skip to content

Commit 7cbb8e4

Browse files
committed
test: update ArrayInsertUnsupportedArgs fallback reason wording
The CometScalaUDF fallback message was generalized from 'ScalaUDF has no native path' to 'expression has no native path' when the dispatcher helper was extracted for reuse by CometDateFormat.
1 parent 4823f33 commit 7cbb8e4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

spark/src/test/scala/org/apache/comet/CometArrayExpressionSuite.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ class CometArrayExpressionSuite extends CometTestBase with AdaptiveSparkPlanHelp
247247
.withColumn("arrUnsupportedArgs", expr("array_insert(arr, idx, 1)"))
248248
checkSparkAnswerAndFallbackReasons(
249249
df.select("arrUnsupportedArgs"),
250-
Set("ScalaUDF has no native path", "unsupported arguments for ArrayInsert"))
250+
Set("expression has no native path", "unsupported arguments for ArrayInsert"))
251251
}
252252
}
253253
}

0 commit comments

Comments
 (0)