Support setting hive_conf_list, hive_var_list and sess_var_list for jdbcURL when connecting to HiveServer2. This is actually a prerequisite for the nativeTest test under GraalVM Native Image to connect to HiveServer2 with Zookeeper service discovery enabled.
Due to the change in https://github.com/apache/hive/pull/2153, org.apache.hadoop.hive.metastore.HiveMetaStoreClient#(String, String) has been replaced by org.apache.hadoop.hive.metastore.HiveMetaStoreClient#(org.apache.hadoop.hive.metastore.api.GetTableRequest). Considering that shardingsphere do not test HiveServer2 for 2.x and 3.x like DBeaver, this will not break any unit tests.
Before committing this PR, I'm sure that I have checked the following options:
For #29052.
Changes proposed in this pull request:
hive_conf_list
,hive_var_list
andsess_var_list
for jdbcURL when connecting to HiveServer2. This is actually a prerequisite for the nativeTest test under GraalVM Native Image to connect to HiveServer2 with Zookeeper service discovery enabled.org.apache.hadoop.hive.metastore.HiveMetaStoreClient#(String, String)
has been replaced byorg.apache.hadoop.hive.metastore.HiveMetaStoreClient#(org.apache.hadoop.hive.metastore.api.GetTableRequest)
. Considering that shardingsphere do not test HiveServer2 for2.x
and3.x
like DBeaver, this will not break any unit tests.Before committing this PR, I'm sure that I have checked the following options:
./mvnw clean install -B -T1C -Dmaven.javadoc.skip -Dmaven.jacoco.skip -e
.