[ 
https://issues.apache.org/jira/browse/SPARK-18721?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15723691#comment-15723691
 ] 

Apache Spark commented on SPARK-18721:
--------------------------------------

User 'zsxwing' has created a pull request for this issue:
https://github.com/apache/spark/pull/16160

> ForeachSink breaks Watermark in append mode
> -------------------------------------------
>
>                 Key: SPARK-18721
>                 URL: https://issues.apache.org/jira/browse/SPARK-18721
>             Project: Spark
>          Issue Type: Bug
>          Components: Structured Streaming
>    Affects Versions: 2.1.0
>            Reporter: Cristian Opris
>            Assignee: Shixiong Zhu
>            Priority: Critical
>
> The watermark is not updated in append mode with a ForeachSink
> Because ForeachSink creates a separate IncrementalExecution instance, the 
> physical plan will be recreated for the logical plan, which results in a new 
> EventTimeWatermarkExec operator being created, that's unreachable from 
> StreamExecution. This results in the watermark never being updated, and 
> append mode never emits results.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to