You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by ja...@apache.org on 2021/04/30 11:27:35 UTC

[flink] branch release-1.13 updated: [FLINK-22524][docs] Fix the incorrect Java groupBy clause in Table API docs (#15802)

This is an automated email from the ASF dual-hosted git repository.

jark pushed a commit to branch release-1.13
in repository https://gitbox.apache.org/repos/asf/flink.git


The following commit(s) were added to refs/heads/release-1.13 by this push:
     new e9832ad  [FLINK-22524][docs] Fix the incorrect Java groupBy clause in Table API docs (#15802)
e9832ad is described below

commit e9832ad2f98a87a4b764e27493a5b9f8f1394eab
Author: Huachao Mao <hu...@gmail.com>
AuthorDate: Fri Apr 30 19:26:54 2021 +0800

    [FLINK-22524][docs] Fix the incorrect Java groupBy clause in Table API docs (#15802)
---
 docs/content.zh/docs/dev/table/common.md | 2 +-
 docs/content/docs/dev/table/common.md    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/docs/content.zh/docs/dev/table/common.md b/docs/content.zh/docs/dev/table/common.md
index 6732604..912dbed 100644
--- a/docs/content.zh/docs/dev/table/common.md
+++ b/docs/content.zh/docs/dev/table/common.md
@@ -508,7 +508,7 @@ Table orders = tableEnv.from("Orders");
 // compute revenue for all customers from France
 Table revenue = orders
   .filter($("cCountry").isEqual("FRANCE"))
-  .groupBy($("cID"), $("cName")
+  .groupBy($("cID"), $("cName"))
   .select($("cID"), $("cName"), $("revenue").sum().as("revSum"));
 
 // emit or convert Table
diff --git a/docs/content/docs/dev/table/common.md b/docs/content/docs/dev/table/common.md
index 37a5b37..f2751f8 100644
--- a/docs/content/docs/dev/table/common.md
+++ b/docs/content/docs/dev/table/common.md
@@ -402,7 +402,7 @@ Table orders = tableEnv.from("Orders");
 // compute revenue for all customers from France
 Table revenue = orders
   .filter($("cCountry").isEqual("FRANCE"))
-  .groupBy($("cID"), $("cName")
+  .groupBy($("cID"), $("cName"))
   .select($("cID"), $("cName"), $("revenue").sum().as("revSum"));
 
 // emit or convert Table