GitHub user brkyvz opened a pull request:

    https://github.com/apache/spark/pull/16716

    [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` and 
`eventTime`. We could however easily report the metrics from `lastExecution` to 
ensure continuity of metrics.
    
    ## How was this patch tested?
    
    Regression test in `StreamingQueryStatusAndProgressSuite`

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/brkyvz/spark state-agg

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/16716.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #16716
    
----
commit 884a7893f5ae0c388ee79b04f92f62757b8aaea0
Author: Burak Yavuz <[email protected]>
Date:   2017-01-27T00:38:24Z

    ready for review

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to