flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hequn Cheng (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-8564) Support SELECT DISTINCT without aggregation functions
Date Wed, 07 Feb 2018 14:16:00 GMT

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

Hequn Cheng commented on FLINK-8564:

OK, we need to adapt the \{{producesUpdates}} function in \{{DataStreamGroupAggregate}} too,
make \{{producesUpdates}} return false if it is a group by with no aggregation functions
and state retention time has not been configured.

> Support SELECT DISTINCT without aggregation functions
> -----------------------------------------------------
>                 Key: FLINK-8564
>                 URL: https://issues.apache.org/jira/browse/FLINK-8564
>             Project: Flink
>          Issue Type: Improvement
>          Components: Table API &amp; SQL
>            Reporter: Timo Walther
>            Priority: Major
> A pure {{SELECT DISTINCT}} statement without aggregation functions is not properly supported
right now. Additionally, it should not require a retract stream. This is a valid append stream:
> {code}
> SELECT DISTINCT aid1, aid2, advertiser_id, platform_id FROM CsvTable
> {code}

This message was sent by Atlassian JIRA

View raw message