Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
[SPARK-49057][SQL][FOLLOWUP] Handle _LEGACY_ERROR_TEMP_2235 case
  • Loading branch information
dongjoon-hyun committed Oct 16, 2024
commit dba753990bd4245a0646cfa53722fa8152fa3795
Original file line number Diff line number Diff line change
Expand Up @@ -936,7 +936,8 @@ class AdaptiveQueryExecSuite
val error = intercept[SparkException] {
joined.collect()
}
assert(error.getMessage() contains "coalesce test error")
assert(error.getMessage().contains("coalesce test error") ||
error.getMessage().contains("Multiple failures in stage materialization"))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For Multiple failures in stage materialization, we put each stage's failure into Exception#suppressed. Shall we find the coalesce test error in the suppressed errors?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, @cloud-fan .


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

Expand Down