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

[SPARK-9467][SQL]Add SQLMetric to specialize accumulators to avoid boxing

This PR adds SQLMetric/SQLMetricParam/SQLMetricValue to specialize accumulators to avoid boxing. All SQL metrics should use these classes rather than `Accumulator`.

Author: zsxwing <zsxwing@gmail.com>

Closes #7996 from zsxwing/sql-accu and squashes the following commits:

14a5f0a [zsxwing] Address comments
367ca23 [zsxwing] Use localValue directly to avoid changing Accumulable
42f50c3 [zsxwing] Add SQLMetric to specialize accumulators to avoid boxing
parent e57d6b56
No related branches found
No related tags found
No related merge requests found
Showing with 338 additions and 47 deletions
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