Johan Lasperas created SPARK-44026:
--------------------------------------

             Summary: 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


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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to