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/19 19:13:40 UTC

[flink] branch master updated: [FLINK-13643][hive][docs] Document the workaround for users with a different minor Hive version

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 eb0436b  [FLINK-13643][hive][docs] Document the workaround for users with a different minor Hive version
eb0436b is described below

commit eb0436b4971a0a939395f570b4abbaa9ee508903
Author: zjuwangg <zj...@foxmail.com>
AuthorDate: Thu Aug 15 11:28:03 2019 +0800

    [FLINK-13643][hive][docs] Document the workaround for users with a different minor Hive version
    
    Document the workaround for users with a different minor Hive version
    
    This closes #9447.
---
 docs/dev/table/hive/index.md    | 11 ++++++++++-
 docs/dev/table/hive/index.zh.md | 11 ++++++++++-
 2 files changed, 20 insertions(+), 2 deletions(-)

diff --git a/docs/dev/table/hive/index.md b/docs/dev/table/hive/index.md
index d528986..0d2651f 100644
--- a/docs/dev/table/hive/index.md
+++ b/docs/dev/table/hive/index.md
@@ -40,7 +40,16 @@ You do not need to modify your existing Hive Metastore or change the data placem
 
 ## Supported Hive Version's
 
-Flink supports Hive `2.3.4` and `1.2.1` and relies on Hive's compatibility guarantee's for other versions.
+Flink supports Hive `2.3.4` and `1.2.1` and relies on Hive's compatibility guarantee's for other minor versions.
+
+If you use a different minor Hive version such as `1.2.2` or `2.3.1`, it should also be ok to 
+choose the closest version `1.2.1` (for `1.2.2`) or `2.3.4` (for `2.3.1`) to workaround. For 
+example, you want to use Flink to integrate `2.3.1` hive version in sql client, just set the 
+hive-version to `2.3.4` in YAML config. Similarly pass the version string when creating 
+HiveCatalog instance via Table API.
+
+Users are welcome to try out different versions with this workaround. Since only `2.3.4` and `1.2
+.1` have been tested, there might be unexpected issues. We will test and support more versions in future releases.
 
 ### Depedencies 
 
diff --git a/docs/dev/table/hive/index.zh.md b/docs/dev/table/hive/index.zh.md
index 8be80b9..61d50aa 100644
--- a/docs/dev/table/hive/index.zh.md
+++ b/docs/dev/table/hive/index.zh.md
@@ -40,7 +40,16 @@ You do not need to modify your existing Hive Metastore or change the data placem
 
 ## Supported Hive Version's
 
-Flink supports Hive `2.3.4` and `1.2.1` and relies on Hive's compatibility guarantee's for other versions.
+Flink supports Hive `2.3.4` and `1.2.1` and relies on Hive's compatibility guarantee's for other minor versions.
+
+If you use a different minor Hive version such as `1.2.2` or `2.3.1`, it should also be ok to 
+choose the closest version `1.2.1` (for `1.2.2`) or `2.3.4` (for `2.3.1`) to workaround. For 
+example, you want to use Flink to integrate `2.3.1` hive version in sql client, just set the 
+hive-version to `2.3.4` in YAML config. Similarly pass the version string when creating 
+HiveCatalog instance via Table API.
+
+Users are welcome to try out different versions with this workaround. Since only `2.3.4` and `1.2
+.1` have been tested, there might be unexpected issues. We will test and support more versions in future releases.
 
 ### Depedencies