luoyuxia created FLINK-28422:
--------------------------------
Summary: Fall back to lastest supported HiveShim when user use a
higher hive version
Key: FLINK-28422
URL: https://issues.apache.org/jira/browse/FLINK-28422
Project: Flink
Issue Type: Improvement
Components: Connectors / Hive
Reporter: luoyuxia
Fix For: 1.16.0
Flink provides flink-connector-hive.jar, so that user can bundle it with a
specific hive-exec.jar to make Flink read / write their Hive.
The flink-connector-hive mantains the Hive versions that Flink supports. But
when Hive releases a higher version, which may well be not in the maintain list
of Flink for the delay of Flink's release .
Then user will find the unsupported version exception with such higher version
hive-exec.jar.
The better way is to fall back to a nearest Hive version directly, with a
warning message. It usually works fine unless some big changes in Hive.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)