LuciferYang commented on code in PR #55422:
URL: https://github.com/apache/spark/pull/55422#discussion_r3122434328
##########
sql/core/src/main/scala/org/apache/spark/sql/execution/window/WindowExec.scala:
##########
@@ -91,7 +91,12 @@ case class WindowExec(
child: SparkPlan)
extends WindowExecBase {
override lazy val metrics: Map[String, SQLMetric] = Map(
- "spillSize" -> SQLMetrics.createSizeMetric(sparkContext, "spill size")
+ "spillSize" -> SQLMetrics.createSizeMetric(sparkContext, "spill size"),
+ "numSegmentTreeFrames" ->
+ SQLMetrics.createMetric(sparkContext, "number of segment-tree frames"),
Review Comment:
nit: segment-tree frames prepared (per partition)?
--
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]