[ https://issues.apache.org/jira/browse/FLINK-5315?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16558276#comment-16558276 ]
Hequn Cheng commented on FLINK-5315: ------------------------------------ Hi, [~walterddr] I think {{boolean distinct}} is a property of Aggregate, so it is not confusing write it as {{myUdagg.distinct('a)}} and {{multiParamAgg.distinct('a, 'b)}}. Also, I think we probably should write {{count(distinct a)}} as {{a.count.distinct}} to make it consistent with UDAGGs. When we write count.distinct, it is also means CountDistinct, because we can't perform continuous aggCall. What do you think? [~fhueske] [~twalthr] > Support distinct aggregations in table api > ------------------------------------------ > > Key: FLINK-5315 > URL: https://issues.apache.org/jira/browse/FLINK-5315 > Project: Flink > Issue Type: Sub-task > Components: Table API & SQL > Reporter: Kurt Young > Assignee: Rong Rong > Priority: Major > > Such as > {code} > t.select("count(distinct a), sum(b)") > {code} > or > {code} > t.select('a.count.distinct), 'b.sum) > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)