cloud-fan commented on code in PR #36194:
URL: https://github.com/apache/spark/pull/36194#discussion_r850239888


##########
sql/core/src/main/scala/org/apache/spark/sql/execution/adaptive/AQEShuffleReadExec.scala:
##########
@@ -207,47 +208,38 @@ case class AQEShuffleReadExec private(
   }
 
   @transient override lazy val metrics: Map[String, SQLMetric] = {
-    if (shuffleStage.isDefined) {

Review Comment:
   can we add `assert(shuffleStage.isDefined)` like what we did in `lazy val 
shuffleRdd`?



-- 
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]

Reply via email to