Github user cloud-fan commented on a diff in the pull request:
https://github.com/apache/spark/pull/18301#discussion_r122359108
--- Diff:
sql/core/src/main/scala/org/apache/spark/sql/execution/metric/SQLMetrics.scala
---
@@ -74,6 +80,19 @@ object SQLMetrics {
private val TIMING_METRIC = "timing"
private val AVERAGE_METRIC = "average"
+ private val baseForAvgMetric: Int = 10
--- End diff --
I'm not quite sure this hack worth. For small number of probes, we don't
care the values I think. For large number of probes, having one more digit in
the fraction part is not very useful.
---
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 [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]