You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by bl...@apache.org on 2019/08/14 21:20:19 UTC
[flink] branch release-1.9 updated: [FLINK-13501][doc] Fixes a few
issues in documentation for Hive integration
This is an automated email from the ASF dual-hosted git repository.
bli pushed a commit to branch release-1.9
in repository https://gitbox.apache.org/repos/asf/flink.git
The following commit(s) were added to refs/heads/release-1.9 by this push:
new d895dfe [FLINK-13501][doc] Fixes a few issues in documentation for Hive integration
d895dfe is described below
commit d895dfec7b451358f9e83d1614f48e124938fc58
Author: zjuwangg <zj...@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>