GitHub user rxin opened a pull request: https://github.com/apache/spark/pull/17464
[SPARK-20134][SQL] SQLMetrics.postDriverMetricUpdates to simplify driver side metric updates ## What changes were proposed in this pull request? It is not super intuitive how to update SQLMetric on the driver side. This patch introduces a new SQLMetrics.postDriverMetricUpdates function to do that, and adds documentation to make it more obvious. ## How was this patch tested? Updated a test case to use this method. You can merge this pull request into a Git repository by running: $ git pull https://github.com/rxin/spark SPARK-20134 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/17464.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #17464 ---- commit 360e9d71b1865443fe45920cd938fe8e8d1354e3 Author: Reynold Xin <r...@databricks.com> Date: 2017-03-29T04:54:12Z [SPARK-20134][SQL] SQLMetrics.postDriverMetricUpdates to simplify driver side metric updates ---- --- 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