You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Julian Hyde (Jira)" <ji...@apache.org> on 2019/11/18 07:28:00 UTC

[jira] [Commented] (CALCITE-3509) Watermark Propagation

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

Julian Hyde commented on CALCITE-3509:
--------------------------------------

0. Can watermarks be handled using algebraic rewrites? I.e. can we use the usual operators but restart them, giving them just the rows that changed, when watermarks arrive.

This is consistent with Calcite's general approach, which is to solve things at a high level using algebra rather than dive into the details of a particular kind of engine.

> Watermark Propagation 
> ----------------------
>
>                 Key: CALCITE-3509
>                 URL: https://issues.apache.org/jira/browse/CALCITE-3509
>             Project: Calcite
>          Issue Type: Sub-task
>            Reporter: Rui Wang
>            Priority: Major
>
> To have a useful enumerable implementation for streaming windowing semantic in Calcite,  and also make Emit syntax useful, we will need to introduce watermark into Calcite. More specifically, the following should be discussed:
> 1. How is watermark generated? What changes are required on source/table scan?
> 2. How does watermark propagate through the whole plan? How are watermarks from multiple inputs aggregated together?  
> 3. Where watermark is used to control the time to emit data? 
> 4. How are event timestamp combined per key (typical in aggregation/join).



--
This message was sent by Atlassian Jira
(v8.3.4#803005)