vim89 opened a new pull request, #59183:
URL: https://github.com/apache/spark/pull/59183

   ### What changes were proposed in this pull request?
   SQLMetrics had its own copy of baseForAvgMetric and five other constants 
that already exist in MetricUtils. This reuses the existing constants instead 
of keeping duplicates.
   
   ### Why are the changes needed?
   Two copies of the same constant can drift apart if only one of them is 
changed later.
   
   ### Does this PR introduce any user-facing change?
   No.
   
   ### How was this patch tested?
   No behavior changed, only where the constants are defined. Existing 
SQLMetricsSuite and the full CI suite pass unchanged.
   
   ### Was this patch authored or co-authored using generative AI tooling?
   No.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to