Skip to content

Commit

Permalink
[FLINK-13643][hive][docs] Document the workaround for users with a di…
Browse files Browse the repository at this point in the history
…fferent minor Hive version

Document the workaround for users with a different minor Hive version

This closes apache#9447.
  • Loading branch information
zjuwangg authored and bowenli86 committed Aug 19, 2019
1 parent bc7d4da commit eb0436b
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 2 deletions.
11 changes: 10 additions & 1 deletion docs/dev/table/hive/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
11 changes: 10 additions & 1 deletion docs/dev/table/hive/index.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit eb0436b

Please sign in to comment.