Skip to content
Snippets Groups Projects
Commit f8c1b3e2 authored by Reynold Xin's avatar Reynold Xin
Browse files

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

Author: Reynold Xin <rxin@databricks.com>

Closes #17464 from rxin/SPARK-20134.

(cherry picked from commit 9712bd39)
Signed-off-by: default avatarReynold Xin <rxin@databricks.com>
parent 30954806
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment