-
- Downloads
[SPARK-19859][SS] The new watermark should override the old one
## What changes were proposed in this pull request? The new watermark should override the old one. Otherwise, we just pick up the first column which has a watermark, it may be unexpected. ## How was this patch tested? The new test. Author: Shixiong Zhu <shixiong@databricks.com> Closes #17199 from zsxwing/SPARK-19859.
Showing
- sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/plans/logical/EventTimeWatermark.scala 7 additions, 0 deletions...spark/sql/catalyst/plans/logical/EventTimeWatermark.scala
- sql/core/src/test/scala/org/apache/spark/sql/streaming/EventTimeWatermarkSuite.scala 14 additions, 0 deletions.../apache/spark/sql/streaming/EventTimeWatermarkSuite.scala
Please register or sign in to comment