-
- Downloads
[SPARK-11253] [SQL] reset all accumulators in physical operators before execute an action
With this change, our query execution listener can get the metrics correctly. The UI still looks good after this change. <img width="257" alt="screen shot 2015-10-23 at 11 25 14 am" src="https://cloud.githubusercontent.com/assets/3182036/10683834/d516f37e-7978-11e5-8118-343ed40eb824.png"> <img width="494" alt="screen shot 2015-10-23 at 11 25 01 am" src="https://cloud.githubusercontent.com/assets/3182036/10683837/e1fa60da-7978-11e5-8ec8-178b88f27764.png"> Author: Wenchen Fan <wenchen@databricks.com> Closes #9215 from cloud-fan/metric.
Showing
- sql/core/src/main/scala/org/apache/spark/sql/DataFrame.scala 3 additions, 0 deletionssql/core/src/main/scala/org/apache/spark/sql/DataFrame.scala
- sql/core/src/main/scala/org/apache/spark/sql/execution/metric/SQLMetrics.scala 6 additions, 1 deletion...la/org/apache/spark/sql/execution/metric/SQLMetrics.scala
- sql/core/src/test/scala/org/apache/spark/sql/util/DataFrameCallbackSuite.scala 78 additions, 3 deletions...la/org/apache/spark/sql/util/DataFrameCallbackSuite.scala
Please register or sign in to comment