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

Jark Wu closed FLINK-22524.
---------------------------
    Fix Version/s: 1.13.1
                   1.14.0
       Resolution: Fixed

Fixed in
 - master: 4eae089d793a7563222ecc241535946e6e5e6cbf
 - release-1.13: e9832ad2f98a87a4b764e27493a5b9f8f1394eab

> Fix the incorrect Java groupBy clause in Table API docs
> -------------------------------------------------------
>
>                 Key: FLINK-22524
>                 URL: https://issues.apache.org/jira/browse/FLINK-22524
>             Project: Flink
>          Issue Type: Improvement
>          Components: Documentation, Table SQL / API
>    Affects Versions: 1.12.2
>            Reporter: Huachao Mao
>            Assignee: Huachao Mao
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.14.0, 1.13.1
>
>
> Current groupBy method in [Flink Table 
> API|https://ci.apache.org/projects/flink/flink-docs-release-1.12/dev/table/common.html#table-api]
>  missies a right parentheses
> {code:java}
> Table revenue = orders
>      .filter($("cCountry").isEqual("FRANCE"))
>      .groupBy($("cID"), $("cName")
>      .select($("cID"), $("cName"), $("revenue").sum().as("revSum"));
> {code}
> It should be as following
> {code:java}
> Table revenue = orders
>      .filter($("cCountry").isEqual("FRANCE"))
>      .groupBy($("cID"), $("cName"))
>      .select($("cID"), $("cName"), $("revenue").sum().as("revSum"));
> {code}
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to