[jira] [Created] (FLINK-22524) Fix the incorrect Java groupBy clause in Table API docs

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-22524) Fix the incorrect Java groupBy clause in Table API docs

Shang Yuanchun (Jira)
Huachao Mao created FLINK-22524:
-----------------------------------

             Summary: 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
    Affects Versions: 1.12.2
            Reporter: Huachao Mao


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)