Skip to content

Commit

Permalink
Address comments
Browse files Browse the repository at this point in the history
  • Loading branch information
dongjoon-hyun committed Oct 16, 2024
1 parent dba7539 commit 5c4733c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -936,8 +936,8 @@ class AdaptiveQueryExecSuite
val error = intercept[SparkException] {
joined.collect()
}
assert(error.getMessage().contains("coalesce test error") ||
error.getMessage().contains("Multiple failures in stage materialization"))
assert((Seq(error) ++ Option(error.getCause) ++ error.getSuppressed()).exists(
e => e.getMessage() != null && e.getMessage().contains("coalesce test error")))

val adaptivePlan = joined.queryExecution.executedPlan.asInstanceOf[AdaptiveSparkPlanExec]

Expand Down

0 comments on commit 5c4733c

Please sign in to comment.