GitHub user uncleGen opened a pull request: https://github.com/apache/spark/pull/17221
[SPARK-19859][SS][Follow-up] The new watermark should override the old one. ## What changes were proposed in this pull request? A follow up to SPARK-19859: - extract the calculation of `delayMs` and reuse it. - update EventTimeWatermarkExec - use the correct `delayMs` in EventTimeWatermark ## How was this patch tested? Jenkins. You can merge this pull request into a Git repository by running: $ git pull https://github.com/uncleGen/spark SPARK-19859 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/17221.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 #17221 ---- commit 2c2c8062921e83b4c8ae19afa2a0e199cd7a4814 Author: uncleGen <husty...@gmail.com> Date: 2017-03-09T02:26:35Z follow-up to SPARK-19859 ---- --- 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org