You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Fabian Hueske (JIRA)" <ji...@apache.org> on 2017/05/16 11:13:04 UTC
[jira] [Commented] (FLINK-6598) Fix `DataStreamGroupAggregateRule`
matches error.
[ https://issues.apache.org/jira/browse/FLINK-6598?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16012159#comment-16012159 ]
Fabian Hueske commented on FLINK-6598:
--------------------------------------
Why should {{agg.getAggCallList.isEmpty}} not be allowed? I think it can be executed and returns distinct keys. IMO, that's a useful operation.
> Fix `DataStreamGroupAggregateRule` 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
>
>
> Change {{DataStreamGroupWindowAggregateRule}} and {{DataStreamGroupAggregateRule}} retrun from {{!distinctAggs && !groupSets && !agg.indicator}} to {{!distinctAggs && !groupSets && !agg.indicator && !agg.getAggCallList.isEmpty}}.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)