You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Konstantin Knauf (Jira)" <ji...@apache.org> on 2021/07/29 07:28:14 UTC

[jira] [Reopened] (FLINK-9422) Dedicated DISTINCT operator for streaming tables with time attributes

     [ https://issues.apache.org/jira/browse/FLINK-9422?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Konstantin Knauf reopened FLINK-9422:
-------------------------------------

Re-opening in accordance with https://issues.apache.org/jira/browse/FLINK-23206.

> Dedicated DISTINCT operator for streaming tables with time attributes
> ---------------------------------------------------------------------
>
>                 Key: FLINK-9422
>                 URL: https://issues.apache.org/jira/browse/FLINK-9422
>             Project: Flink
>          Issue Type: Improvement
>          Components: Table SQL / Legacy Planner
>            Reporter: Fabian Hueske
>            Assignee: Ruidong Li
>            Priority: Minor
>              Labels: auto-closed, stale-assigned
>
> We can implement a dedicated operator for a {{UNION}} operator on tables with time attributes. Currently, {{UNION}} is translated into a {{UNION ALL}} and a subsequent {{GROUP BY}} on all attributes without aggregation functions. The state of the grouping operator is only clean up using state retention timers. 
> The dedicated operator would leverage the monotonicity property of the time attribute and watermarks to automatically clean up its state.



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