You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (Jira)" <ji...@apache.org> on 2022/12/07 20:59:00 UTC

[jira] [Commented] (SPARK-41442) Only update SQLMetric value if merging with valid metric

    [ https://issues.apache.org/jira/browse/SPARK-41442?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17644511#comment-17644511 ] 

Apache Spark commented on SPARK-41442:
--------------------------------------

User 'viirya' has created a pull request for this issue:
https://github.com/apache/spark/pull/38969

> Only update SQLMetric value if merging with valid metric
> --------------------------------------------------------
>
>                 Key: SPARK-41442
>                 URL: https://issues.apache.org/jira/browse/SPARK-41442
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 3.4.0
>            Reporter: L. C. Hsieh
>            Priority: Minor
>
> We use -1 as initial value of SQLMetric, and change it to 0 while merging with other SQLMetric instances. A SQLMetric will be treated as invalid and filtered out later.
> While we are developing with Spark, it is trouble behavior that two invalid SQLMetric instances merge to a valid SQLMetric because merging will set the value to 0.



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