ulysses-you commented on code in PR #36194:
URL: https://github.com/apache/spark/pull/36194#discussion_r850140715
##########
sql/core/src/main/scala/org/apache/spark/sql/execution/adaptive/AQEShuffleReadExec.scala:
##########
@@ -144,12 +150,7 @@ case class AQEShuffleReadExec private(
}
}
- private def shuffleStage = child match {
- case stage: ShuffleQueryStageExec => Some(stage)
- case _ => None
- }
-
- @transient private lazy val partitionDataSizes: Option[Seq[Long]] = {
+ private def partitionDataSizes: Option[Seq[Long]] = {
Review Comment:
only called once, not see a benefit to materialize it
--
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]