@@ -4,6 +4,8 @@ The purpose of the current project is to create a `Thin JAR` of HiveServer2 JDBC
4
4
All release products have been verified and usable in the GraalVM Native Image compiled by GraalVM CE For JDK 22.0.2.
5
5
6
6
The steps to use directly in Maven are as follows.
7
+ The latest version is available
8
+ at https://central.sonatype.com/artifact/io.github.linghengqian/hive-server2-jdbc-driver-thin .
7
9
8
10
``` xml
9
11
@@ -17,9 +19,10 @@ The steps to use directly in Maven are as follows.
17
19
```
18
20
19
21
The current project also provides a HiveServer2 JDBC Driver Uber JAR to simplify the steps of specifying the
20
- ` classifier ` .
22
+ ` classifier ` .
21
23
The current JAR also contains fixes for missing classes from the master branch of ` apache/hive ` .
22
24
The steps to use directly in Maven are as follows.
25
+ The latest version is at https://central.sonatype.com/artifact/io.github.linghengqian/hive-server2-jdbc-driver-uber .
23
26
24
27
``` xml
25
28
@@ -35,18 +38,20 @@ The steps to use directly in Maven are as follows.
35
38
## Background
36
39
37
40
The current project is actually a third-party build of HiveServer2 JDBC Driver.
38
- ` apache/hive ` only provides ` Skinny JAR ` and ` Uber JAR ` for HiveServer2 JDBC Driver, which leads to many unexpected situations
41
+ ` apache/hive ` only provides ` Skinny JAR ` and ` Uber JAR ` for HiveServer2 JDBC Driver, which leads to many unexpected
42
+ situations
39
43
in downstream projects.
40
44
41
45
For ` org.apache.hive:hive-jdbc:4.0.0 ` corresponding to ` Skinny JAR ` ,
42
46
this leads to PRs like https://github.com/apache/shardingsphere/pull/31680
43
47
and https://github.com/apache/shardingsphere/pull/31774 .
44
48
The related PRs make hundreds of lines of dependency adjustments to ` apache/hive ` .
45
49
46
- For ` org.apache.hive:hive-jdbc:4.0.0:standalone ` corresponding to the ` Uber JAR ` ,
47
- this leads to issues like https://issues.apache.org/jira/browse/HIVE-28315 and https://issues.apache.org/jira/browse/HIVE-28445 .
48
- It often takes months to wait for the fixes of the related issues to be released into the new version,
49
- without any way to fix the class conflicts.
50
+ For ` org.apache.hive:hive-jdbc:4.0.0:standalone ` corresponding to the ` Uber JAR ` ,
51
+ this leads to issues like https://issues.apache.org/jira/browse/HIVE-28315
52
+ and https://issues.apache.org/jira/browse/HIVE-28445 .
53
+ It often takes months to wait for the fixes of the related issues to be released into the new version,
54
+ without any way to fix the class conflicts.
50
55
This is almost unacceptable to downstream projects.
51
56
52
57
It is designed to be easily integrated into the nativeTest form of the GraalVM Native Image of ` apache/shardingsphere `
@@ -58,9 +63,16 @@ More background at https://lists.apache.org/thread/63lr45kyh78s64spwsjxjy8zdyzpr
58
63
59
64
### 1.0.0
60
65
61
- This is the first ` Thin JAR ` build for the HiveServer2 JDBC Driver on ` apache/hive:4.0.0 ` .
66
+ This is the first ` Thin JAR ` build and an accompanying, intuitive ` Uber JAR ` build for the HiveServer2 JDBC driver from
67
+ ` apache/hive:rel/release-4.0.0 ` .
62
68
Fixed all class conflicts.
63
69
70
+ ```
71
+ io.github.linghengqian:hive-server2-jdbc-driver-thin:1.0.0
72
+
73
+ io.github.linghengqian:hive-server2-jdbc-driver-uber:1.0.0
74
+ ```
75
+
64
76
## Contributing
65
77
66
78
Refer to [ CONTRIBUTING] ( ./doc/CONTRIBUTING.md ) .
0 commit comments