flink-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ches...@apache.org
Subject [flink] branch release-1.13 updated: [FLINK-22895][docs] Fix example typo in "Table Concepts & Common API" page
Date Wed, 01 Sep 2021 11:06:48 GMT
This is an automated email from the ASF dual-hosted git repository.

chesnay 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 b7f71ca  [FLINK-22895][docs] Fix example typo in "Table Concepts & Common API"
page
b7f71ca is described below

commit b7f71ca75ee209fceef8199699387aa5c5bf6487
Author: sujun <sujun891020@gmail.com>
AuthorDate: Mon Jun 7 14:24:19 2021 +0800

    [FLINK-22895][docs] Fix example typo in "Table Concepts & Common API" page
    
    This closes #16087
---
 docs/content.zh/docs/dev/table/modules.md | 4 ++--
 docs/content/docs/dev/table/common.md     | 4 ++--
 docs/content/docs/dev/table/modules.md    | 4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/docs/content.zh/docs/dev/table/modules.md b/docs/content.zh/docs/dev/table/modules.md
index b0072f5..9689e41 100644
--- a/docs/content.zh/docs/dev/table/modules.md
+++ b/docs/content.zh/docs/dev/table/modules.md
@@ -84,7 +84,7 @@ Users can use SQL to load/unload/use/list modules in both Table API and
SQL CLI.
 {{< tab "Java" >}}
 ```java
 EnvironmentSettings settings = EnvironmentSettings.newInstance().useBlinkPlanner().build();
-TableEnvironment tableEnv = TableEnvironment.create(setting);
+TableEnvironment tableEnv = TableEnvironment.create(settings);
 
 // Show initially loaded and enabled modules
 tableEnv.executeSql("SHOW MODULES").print();
@@ -457,7 +457,7 @@ Users can use Java, Scala or Python to load/unload/use/list modules programmatic
 {{< tab "Java" >}}
 ```java
 EnvironmentSettings settings = EnvironmentSettings.newInstance().useBlinkPlanner().build();
-TableEnvironment tableEnv = TableEnvironment.create(setting);
+TableEnvironment tableEnv = TableEnvironment.create(settings);
 
 // Show initially loaded and enabled modules
 tableEnv.listModules();
diff --git a/docs/content/docs/dev/table/common.md b/docs/content/docs/dev/table/common.md
index 5872ba1..aca5a39 100644
--- a/docs/content/docs/dev/table/common.md
+++ b/docs/content/docs/dev/table/common.md
@@ -140,7 +140,7 @@ EnvironmentSettings settings = EnvironmentSettings
     //.inBatchMode()
     .build();
 
-TableEnvironment tEnv = TableEnvironment.create(setting);
+TableEnvironment tEnv = TableEnvironment.create(settings);
 ```
 {{< /tab >}}
 {{< tab "Scala" >}}
@@ -153,7 +153,7 @@ val settings = EnvironmentSettings
     //.inBatchMode()
     .build()
 
-val tEnv = TableEnvironment.create(setting)
+val tEnv = TableEnvironment.create(settings)
 ```
 {{< /tab >}}
 {{< tab "Python" >}}
diff --git a/docs/content/docs/dev/table/modules.md b/docs/content/docs/dev/table/modules.md
index 49a7668..74bffee 100644
--- a/docs/content/docs/dev/table/modules.md
+++ b/docs/content/docs/dev/table/modules.md
@@ -84,7 +84,7 @@ Users can use SQL to load/unload/use/list modules in both Table API and
SQL CLI.
 {{< tab "Java" >}}
 ```java
 EnvironmentSettings settings = EnvironmentSettings.newInstance().useBlinkPlanner().build();
-TableEnvironment tableEnv = TableEnvironment.create(setting);
+TableEnvironment tableEnv = TableEnvironment.create(settings);
 
 // Show initially loaded and enabled modules
 tableEnv.executeSql("SHOW MODULES").print();
@@ -457,7 +457,7 @@ Users can use Java, Scala or Python to load/unload/use/list modules programmatic
 {{< tab "Java" >}}
 ```java
 EnvironmentSettings settings = EnvironmentSettings.newInstance().useBlinkPlanner().build();
-TableEnvironment tableEnv = TableEnvironment.create(setting);
+TableEnvironment tableEnv = TableEnvironment.create(settings);
 
 // Show initially loaded and enabled modules
 tableEnv.listModules();

Mime
View raw message