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

Fabian Hueske commented on FLINK-6598:
--------------------------------------

I just checked and FLINK-6428 is already supported. 
During logical optimization it is translated into a GROUP BY without 
aggregation function.

So by not changing the rules, we automatically support {{SELECT DISTINCT}}.

> Fix `DataStreamGroupAggregateRule`and `DataStreamGroupWindowAggregateRule` 
> matches error.
> -----------------------------------------------------------------------------------------
>
>                 Key: FLINK-6598
>                 URL: https://issues.apache.org/jira/browse/FLINK-6598
>             Project: Flink
>          Issue Type: Bug
>          Components: Table API & SQL
>            Reporter: sunjincheng
>            Assignee: sunjincheng
>             Fix For: 1.3.0
>
>
> Changes as follows:
> 1. Add {{!agg.getAggCallList.isEmpty}} condition for 
> {{DataStreamGroupWindowAggregateRule}} and {{DataStreamGroupAggregateRule}}.
> 2. Remove useless param {{rowRelDataType}} of {{DataStreamGroupAggregate}}.



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

Reply via email to