-
- Downloads
[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. Author: uncleGen <hustyugm@gmail.com> Closes #17221 from uncleGen/SPARK-19859. (cherry picked from commit eeb1d6db) Signed-off-by:Shixiong Zhu <shixiong@databricks.com>
Showing
- sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/plans/logical/EventTimeWatermark.scala 8 additions, 1 deletion...spark/sql/catalyst/plans/logical/EventTimeWatermark.scala
- sql/core/src/main/scala/org/apache/spark/sql/execution/streaming/EventTimeWatermarkExec.scala 11 additions, 8 deletions...park/sql/execution/streaming/EventTimeWatermarkExec.scala
Please register or sign in to comment