flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-6091) Implement and turn on the retraction for aggregates
Date Mon, 24 Apr 2017 20:49:06 GMT

    [ https://issues.apache.org/jira/browse/FLINK-6091?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15981873#comment-15981873

ASF GitHub Bot commented on FLINK-6091:

Github user fhueske commented on a diff in the pull request:

    --- Diff: flink-libraries/flink-table/src/main/scala/org/apache/flink/table/api/TableEnvironment.scala
    @@ -723,11 +738,11 @@ abstract class TableEnvironment(val config: TableConfig) {
         val genFunction = generator.generateFunction(
    -      classOf[MapFunction[Row, T]],
    +      classOf[MapFunction[P, T]],
    --- End diff --
    This means we need a dedicated `MapRunner` (and other runners) for streaming, but IMO,
that's an easier change than touching the code-gen of the whole Table API.

> Implement and turn on the retraction for aggregates
> ---------------------------------------------------
>                 Key: FLINK-6091
>                 URL: https://issues.apache.org/jira/browse/FLINK-6091
>             Project: Flink
>          Issue Type: Sub-task
>          Components: Table API & SQL
>            Reporter: Shaoxuan Wang
>            Assignee: Hequn Cheng
> Implement functions for generating and consuming retract messages for different aggregates.

> 1. add delete/add property to Row
> 2. implement functions for generating retract messages for unbounded groupBy
> 3. implement functions for handling retract messages for different aggregates.
> 4. handle retraction messages in CommonCorrelate and CommonCalc (retain Delete property).
> Note: Currently, only unbounded groupby generates retraction and it is working under
unbounded and processing time mode. Hence, retraction is only supported for unbounded and
processing time aggregations so far. We can add more retraction support later.
> supported now: unbounded groupby, unbounded and processing time over window
> unsupported now: group window, event time or bounded over window.

This message was sent by Atlassian JIRA

View raw message