This is an automated email from the ASF dual-hosted git repository. bli pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/flink.git
The following commit(s) were added to refs/heads/master by this push: new 7b4c232 [FLINK-13501][doc] Fixes a few issues in documentation for Hive integration 7b4c232 is described below commit 7b4c23255b900ced0afe060194bbb737981405e2 Author: zjuwangg <zjuwa...@foxmail.com> AuthorDate: Wed Aug 14 22:31:26 2019 +0800 [FLINK-13501][doc] Fixes a few issues in documentation for Hive integration This closes #9437. --- docs/dev/table/hive/index.md | 14 +++++++------- docs/dev/table/hive/index.zh.md | 12 ++++++------ 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/docs/dev/table/hive/index.md b/docs/dev/table/hive/index.md index a6dbefa..ebafb1a 100644 --- a/docs/dev/table/hive/index.md +++ b/docs/dev/table/hive/index.md @@ -2,7 +2,7 @@ title: "Hive" nav-id: hive_tableapi nav-parent_id: tableapi -nav-pos: 100 +nav-pos: 110 is_beta: true nav-show_overview: true --- @@ -139,9 +139,9 @@ Connect to an existing Hive installation using the Hive [Catalog]({{ site.baseur String name = "myhive"; String defaultDatabase = "mydatabase"; String hiveConfDir = "/opt/hive-conf"; -String version = "2.3.2"; // or 1.2.1 +String version = "2.3.4"; // or 1.2.1 -HiveCatalog hive new HiveCatalog(name, defaultDatabase, hiveConfDir, version); +HiveCatalog hive = new HiveCatalog(name, defaultDatabase, hiveConfDir, version); tableEnv.registerCatalog(hive); {% endhighlight %} </div> @@ -151,9 +151,9 @@ tableEnv.registerCatalog(hive); val name = "myhive" val defaultDatabase = "mydatabase" val hiveConfDir = "/opt/hive-conf" -val version = "2.3.2" // or 1.2.1 +val version = "2.3.4" // or 1.2.1 -val hive new HiveCatalog(name, defaultDatabase, hiveConfDir, version) +val hive = new HiveCatalog(name, defaultDatabase, hiveConfDir, version) tableEnv.registerCatalog(hive) {% endhighlight %} </div> @@ -238,8 +238,8 @@ Currently `HiveCatalog` supports most Flink data types with the following mappin <td class="text-center">BINARY</td> </tr> <tr> - <td class="text-center">ARRAY\<T\></td> - <td class="text-center">LIST\<T\></td> + <td class="text-center">ARRAY<T></td> + <td class="text-center">LIST<T></td> </tr> <tr> <td class="text-center">MAP<K, V></td> diff --git a/docs/dev/table/hive/index.zh.md b/docs/dev/table/hive/index.zh.md index a6dbefa..0433a9b 100644 --- a/docs/dev/table/hive/index.zh.md +++ b/docs/dev/table/hive/index.zh.md @@ -139,9 +139,9 @@ Connect to an existing Hive installation using the Hive [Catalog]({{ site.baseur String name = "myhive"; String defaultDatabase = "mydatabase"; String hiveConfDir = "/opt/hive-conf"; -String version = "2.3.2"; // or 1.2.1 +String version = "2.3.4"; // or 1.2.1 -HiveCatalog hive new HiveCatalog(name, defaultDatabase, hiveConfDir, version); +HiveCatalog hive = new HiveCatalog(name, defaultDatabase, hiveConfDir, version); tableEnv.registerCatalog(hive); {% endhighlight %} </div> @@ -151,9 +151,9 @@ tableEnv.registerCatalog(hive); val name = "myhive" val defaultDatabase = "mydatabase" val hiveConfDir = "/opt/hive-conf" -val version = "2.3.2" // or 1.2.1 +val version = "2.3.4" // or 1.2.1 -val hive new HiveCatalog(name, defaultDatabase, hiveConfDir, version) +val hive = new HiveCatalog(name, defaultDatabase, hiveConfDir, version) tableEnv.registerCatalog(hive) {% endhighlight %} </div> @@ -238,8 +238,8 @@ Currently `HiveCatalog` supports most Flink data types with the following mappin <td class="text-center">BINARY</td> </tr> <tr> - <td class="text-center">ARRAY\<T\></td> - <td class="text-center">LIST\<T\></td> + <td class="text-center">ARRAY<T></td> + <td class="text-center">LIST<T></td> </tr> <tr> <td class="text-center">MAP<K, V></td>