coderfender commented on code in PR #2919:
URL: https://github.com/apache/datafusion-comet/pull/2919#discussion_r2625469916
##########
spark/src/test/scala/org/apache/comet/CometCastSuite.scala:
##########
@@ -1296,9 +1283,9 @@ class CometCastSuite extends CometTestBase with
AdaptiveSparkPlanHelper {
if (CometSparkSessionExtensions.isSpark40Plus) {
// for Spark 4 we expect to sparkException carries the
message
assert(
- sparkException.getMessage
+ sparkMessage
.replace(".WITH_SUGGESTION] ", "]")
- .startsWith(cometMessage))
+ .startsWith(cometMessage.replaceAll("If.+$", "")))
Review Comment:
@manuzhang Could we also add test thats the exception message is produced
as expected to make things clear ?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]