-
- Downloads
[SPARK-19378][SS] Ensure continuity of stateOperator and eventTime metrics...
[SPARK-19378][SS] Ensure continuity of stateOperator and eventTime metrics even if there is no new data in trigger In StructuredStreaming, if a new trigger was skipped because no new data arrived, we suddenly report nothing for the metrics `stateOperator`. We could however easily report the metrics from `lastExecution` to ensure continuity of metrics. Regression test in `StreamingQueryStatusAndProgressSuite` Author: Burak Yavuz <brkyvz@gmail.com> Closes #16716 from brkyvz/state-agg. (cherry picked from commit 081b7add) Signed-off-by:Tathagata Das <tathagata.das1565@gmail.com>
Showing
- sql/core/src/main/scala/org/apache/spark/sql/execution/streaming/ProgressReporter.scala 24 additions, 11 deletions...ache/spark/sql/execution/streaming/ProgressReporter.scala
- sql/core/src/test/scala/org/apache/spark/sql/streaming/StreamingQueryStatusAndProgressSuite.scala 46 additions, 2 deletions.../sql/streaming/StreamingQueryStatusAndProgressSuite.scala
Please register or sign in to comment