You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Wenchen Fan (Jira)" <ji...@apache.org> on 2023/06/26 17:30:00 UTC

[jira] [Resolved] (SPARK-44026) Update helper methods to create SQLMetric with initial value

     [ https://issues.apache.org/jira/browse/SPARK-44026?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Wenchen Fan resolved SPARK-44026.
---------------------------------
    Fix Version/s: 3.5.0
       Resolution: Fixed

Issue resolved by pull request 41555
[https://github.com/apache/spark/pull/41555]

> Update helper methods to create SQLMetric with initial value
> ------------------------------------------------------------
>
>                 Key: SPARK-44026
>                 URL: https://issues.apache.org/jira/browse/SPARK-44026
>             Project: Spark
>          Issue Type: Improvement
>          Components: Spark Core
>    Affects Versions: 3.4.0
>            Reporter: Johan Lasperas
>            Assignee: Johan Lasperas
>            Priority: Minor
>             Fix For: 3.5.0
>
>
> The helper methods in [SQLMetric.scala|https://github.com/apache/spark/blob/7107742a381cde2e6de9425e3e436282a8c0d27c/sql/core/src/main/scala/org/apache/spark/sql/execution/metric/SQLMetrics.scala#L38] all use a fixed default value `-1`. Callers may want the metric to start with a different initial value.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org