-
- 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 ## What changes were proposed in this pull request? 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. ## How was this patch tested? Regression test in `StreamingQueryStatusAndProgressSuite` Author: Burak Yavuz <brkyvz@gmail.com> Closes #16716 from brkyvz/state-agg.
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 40 additions, 2 deletions.../sql/streaming/StreamingQueryStatusAndProgressSuite.scala
Please register or sign in to comment