[ https://issues.apache.org/jira/browse/FLINK-5315?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16555898#comment-16555898 ]
Rong Rong commented on FLINK-5315: ---------------------------------- Oops. sorry that was what I meant [~twalthr] to use {{'a.distinct.count}} for expressions such as count, sum etc. My point was doing {{'a.count.distinct}} doesn't make sense. [~fhueske] [~hequn8128] Regrading UDAGG. I am actually more favoring the syntax of {{udagg('a.distinct)}}. To my own understanding {{*.distinct}} seems more of an expression towards how the operand is suppose to be treated. {{myUdagg.distinct}} seems confusing to me since we are not applying the distinct towards the aggregate function. something like {{'a.distinct.myUdagg}} might be better if it can be supported. > 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)