Yaohua Zhao created SPARK-40460:
-----------------------------------

             Summary: 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.2, 3.3.0, 3.2.1, 3.2.0
            Reporter: Yaohua Zhao


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]



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