Github user marmbrus commented on a diff in the pull request:

    https://github.com/apache/spark/pull/8931#discussion_r41425821
  
    --- Diff: 
sql/core/src/main/scala/org/apache/spark/sql/execution/aggregate/TungstenAggregate.scala
 ---
    @@ -69,6 +72,9 @@ case class TungstenAggregate(
       protected override def doExecute(): RDD[InternalRow] = attachTree(this, 
"execute") {
         val numInputRows = longMetric("numInputRows")
         val numOutputRows = longMetric("numOutputRows")
    +    val totalPeakMemory = longMetric("totalPeakMemory")
    --- End diff --
    
    I see, given limited space, I question the utility of this metric (these 
tasks might not have even been running at the same time).  The percentiles seem 
way more useful (i.e. is skew causing some partitions to spill or are they all 
spilling).  We can leave it in if @pwendell and @rxin feel strongly though.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to