-
- Downloads
[SPARK-15080][CORE] Break copyAndReset into copy and reset
## What changes were proposed in this pull request? Break copyAndReset into two methods copy and reset instead of just one. ## How was this patch tested? Existing Tests Author: Sandeep Singh <sandeep@techaddict.me> Closes #12936 from techaddict/SPARK-15080.
Showing
- core/src/main/scala/org/apache/spark/executor/TaskMetrics.scala 9 additions, 1 deletion...rc/main/scala/org/apache/spark/executor/TaskMetrics.scala
- core/src/main/scala/org/apache/spark/util/AccumulatorV2.scala 61 additions, 14 deletions.../src/main/scala/org/apache/spark/util/AccumulatorV2.scala
- core/src/test/scala/org/apache/spark/util/AccumulatorV2Suite.scala 17 additions, 0 deletions...test/scala/org/apache/spark/util/AccumulatorV2Suite.scala
- sql/core/src/main/scala/org/apache/spark/sql/execution/metric/SQLMetrics.scala 9 additions, 4 deletions...la/org/apache/spark/sql/execution/metric/SQLMetrics.scala
Loading
Please register or sign in to comment