[
https://issues.apache.org/jira/browse/SPARK-59921?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Uroš Bojanić reassigned SPARK-59921:
------------------------------------
Assignee: Vitthal
> Reuse MetricUtils constants in SQLMetrics instead of duplicating them
> ---------------------------------------------------------------------
>
> Key: SPARK-59921
> URL: https://issues.apache.org/jira/browse/SPARK-59921
> Project: Spark
> Issue Type: Improvement
> Components: SQL
> Affects Versions: 4.4.0
> Reporter: Vitthal
> Assignee: Vitthal
> Priority: Minor
> Labels: pull-request-available
>
> SQLMetrics had its own copy of baseForAvgMetric and five other constants that
> already exist in MetricUtils. Two copies of the same constant can drift apart
> if only one is changed later. SPARK-50977 moved these metric helpers to
> MetricUtils but left baseForAvgMetric and SUM_METRIC behind as duplicates in
> SQLMetrics; this finishes that move.
> PR: https://github.com/apache/spark/pull/59183
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]