flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rong Rong (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (FLINK-5315) Support distinct aggregations in table api
Date Wed, 01 Aug 2018 21:46:00 GMT

     [ https://issues.apache.org/jira/browse/FLINK-5315?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Rong Rong updated FLINK-5315:
-----------------------------
    Description: 
Support distinct aggregations in Table API in the following format:

For Expressions:
{code:java}
'a.count.distinct // Expressions distinct modifier
{code}

For User-defined Function:
{code:java}
singleArgUdaggFunc.distinct('a) // FunctionCall distinct modifier
multiArgUdaggFunc.distinct('a, 'b) // FunctionCall distinct modifier
{code}


  was:
Such as 
{code}
t.select("count(distinct a), sum(b)")
{code}
or 
{code}
t.select('a.count.distinct), 'b.sum)
{code}



> 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 &amp; SQL
>            Reporter: Kurt Young
>            Assignee: Rong Rong
>            Priority: Major
>
> Support distinct aggregations in Table API in the following format:
> For Expressions:
> {code:java}
> 'a.count.distinct // Expressions distinct modifier
> {code}
> For User-defined Function:
> {code:java}
> singleArgUdaggFunc.distinct('a) // FunctionCall distinct modifier
> multiArgUdaggFunc.distinct('a, 'b) // FunctionCall distinct modifier
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message