cloud-fan commented on code in PR #47374: URL: https://github.com/apache/spark/pull/47374#discussion_r1689167639
########## sql/core/src/main/scala/org/apache/spark/sql/execution/adaptive/AdaptiveSparkPlanExec.scala: ########## @@ -827,7 +827,7 @@ case class AdaptiveSparkPlanExec( // so we should avoid calling cancel on it to re-trigger the failure again. case s: ExchangeQueryStageExec if !earlyFailedStage.contains(s.id) => try { - s.cancel() + s.cancel(Some("cancelled by cleanup in AdaptiveSparkPlanExec")) Review Comment: ```suggestion s.cancel(Some("The corresponding SQL query has failed.")) ``` -- 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: reviews-unsubscr...@spark.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org