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

Fabian Hueske commented on FLINK-6335:
--------------------------------------

Hi [~wheat9],

for which types of aggregations is this issue intended?
- group window aggregates: {{SELECT a, SUM(b) FROM t GROUP BY a, 
TUMBLE(rowTime(), ...}}
- over window aggregates: {{SELECT a, SUM(b) OVER (ORDER BY rowTime()...) FROM t
- non-windowed aggregates: {{SELECT a, SUM(b) FROM t GROUP BY a}}

- DISTINCT OVER windows are not yet supported by Calcite. [~stefano.bortoli] 
and [~rtudoran] are working on that.
- non-windowed aggregates are not in the master but merged to the 
{{table-retraction}} branch.

Thanks, Fabian

> Support DISTINCT over grouped window in stream SQL
> --------------------------------------------------
>
>                 Key: FLINK-6335
>                 URL: https://issues.apache.org/jira/browse/FLINK-6335
>             Project: Flink
>          Issue Type: Bug
>            Reporter: Haohui Mai
>            Assignee: Haohui Mai
>
> The SQL on the batch side supports the {{DISTINCT}} keyword over aggregation. 
> This jira proposes to support the {{DISTINCT}} keyword on streaming 
> aggregation using the same technique on the batch side.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to