diff options
author | Reynold Xin <rxin@databricks.com> | 2017-03-29 00:02:15 -0700 |
---|---|---|
committer | Reynold Xin <rxin@databricks.com> | 2017-03-29 00:02:15 -0700 |
commit | 9712bd3954c029de5c828f27b57d46e4a6325a38 (patch) | |
tree | fbd8403b5c40ca234009f03913837121cd6be4cf /streaming | |
parent | a5c87707eaec5cacdfb703eb396dfc264bc54cda (diff) | |
download | spark-9712bd3954c029de5c828f27b57d46e4a6325a38.tar.gz spark-9712bd3954c029de5c828f27b57d46e4a6325a38.tar.bz2 spark-9712bd3954c029de5c828f27b57d46e4a6325a38.zip |
[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.
Diffstat (limited to 'streaming')
0 files changed, 0 insertions, 0 deletions