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

Yaohua Zhao updated SPARK-40460:
--------------------------------
    Description: Streaming metrics report all 0 (`processedRowsPerSecond`, etc) 
when selecting `_metadata` column. Because the logical plan from the batch and 
the actual planned logical are mismatched: 
[https://github.com/apache/spark/blob/master/sql/core/src/main/scala/org/apache/spark/sql/execution/streaming/ProgressReporter.scala#L348]
  (was: Streaming metrics report all 0 (`processedRowsPerSecond`, etc) when 
selecting `_metadata` column. Because the logical plan from the streaming 
relation and the actual executed logical plan are mismatched: 
[https://github.com/apache/spark/blob/master/sql/core/src/main/scala/org/apache/spark/sql/execution/streaming/ProgressReporter.scala#L348])

> Streaming metrics is zero when select _metadata
> -----------------------------------------------
>
>                 Key: SPARK-40460
>                 URL: https://issues.apache.org/jira/browse/SPARK-40460
>             Project: Spark
>          Issue Type: Bug
>          Components: Structured Streaming
>    Affects Versions: 3.2.0, 3.2.1, 3.3.0, 3.2.2
>            Reporter: Yaohua Zhao
>            Priority: Major
>
> Streaming metrics report all 0 (`processedRowsPerSecond`, etc) when selecting 
> `_metadata` column. Because the logical plan from the batch and the actual 
> planned logical are mismatched: 
> [https://github.com/apache/spark/blob/master/sql/core/src/main/scala/org/apache/spark/sql/execution/streaming/ProgressReporter.scala#L348]



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