The purpose of the current project is to create a Thin JAR
of HiveServer2 JDBC Driver.
All release products have been verified and usable in the GraalVM Native Image compiled by GraalVM CE For JDK 22.0.2 and GraalVM CE For JDK 23.
For HotSpot VM, all JAR products can be run on any OpenJDK 8 and later distribution.
The steps to use directly in Maven are as follows. The latest version is available at https://central.sonatype.com/artifact/io.github.linghengqian/hive-server2-jdbc-driver-thin .
<dependencies>
<dependency>
<groupId>io.github.linghengqian</groupId>
<artifactId>hive-server2-jdbc-driver-thin</artifactId>
<version>{latest.version}</version>
</dependency>
</dependencies>
The current project also provides a HiveServer2 JDBC Driver Uber JAR to simplify the steps of specifying the classifier
.
The steps to use directly in Maven are as follows.
The latest version is at https://central.sonatype.com/artifact/io.github.linghengqian/hive-server2-jdbc-driver-uber .
<dependencies>
<dependency>
<groupId>io.github.linghengqian</groupId>
<artifactId>hive-server2-jdbc-driver-uber</artifactId>
<version>{latest.version}</version>
</dependency>
</dependencies>
Refer to QuickStart.
For the Docker Image of apache/hive:4.0.0
,
you can use 1.4.0
of io.github.linghengqian:hive-server2-jdbc-driver-thin
or io.github.linghengqian:hive-server2-jdbc-driver-uber
.
For the Docker Image of apache/hive:4.0.1
,
you can use 1.6.0
of io.github.linghengqian:hive-server2-jdbc-driver-thin
or io.github.linghengqian:hive-server2-jdbc-driver-uber
.
Refer to FAQ.
Refer to Background.
Refer to CHANGELOG.
Refer to CONTRIBUTING.
The license applies to both the source code and the final JAR distributed on Maven Central.