Github user cloud-fan commented on a diff in the pull request:

    https://github.com/apache/spark/pull/18258#discussion_r121596157
  
    --- Diff: 
sql/core/src/main/scala/org/apache/spark/sql/execution/metric/SQLMetrics.scala 
---
    @@ -103,13 +103,43 @@ object SQLMetrics {
       }
     
       /**
    +   * Create a metric to report the average information (including min, 
med, max) like
    +   * avg hashmap probe. Because `SQLMetric` stores long values, we take 
the ceil of the average
    +   * values before storing them. This metric is used to record an average 
value computed in the
    +   * end of a task. It should be set once. The initial values (zeros) of 
this metrics will be
    +   * excluded after.
    +   */
    +  def createAverageMetric(sc: SparkContext, name: String): SQLMetric = {
    +    // The final result of this metric in physical operator UI may looks 
like:
    +    // probe avg (min, med, max):
    +    // (1, 2, 6)
    --- End diff --
    
    where is the `probe avg` part?


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