Skip to content

Commit f1fc1c3

Browse files
committed
feat: add Apache Hive driver support and update plugin configuration
1 parent f1a57c0 commit f1fc1c3

4 files changed

Lines changed: 70 additions & 0 deletions

File tree

server/bundles/io.cloudbeaver.resources.drivers.base/plugin.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
<resource name="drivers/jaybird"/>
1515
<resource name="drivers/h2"/>
1616
<resource name="drivers/h2_v2"/>
17+
<resource name="drivers/hive"/>
1718
<resource name="drivers/sqlite/xerial"/>
1819
<resource name="drivers/mssql/new"/>
1920
<resource name="drivers/trino"/>
@@ -35,6 +36,7 @@
3536
<bundle id="drivers.firebird" label="Firebird drivers"/>
3637
<bundle id="drivers.h2" label="H2 drivers"/>
3738
<bundle id="drivers.h2_v2" label="H2 v2 drivers"/>
39+
<bundle id="drivers.hive4" label="Apache Hive drivers"/>
3840
<bundle id="drivers.sqlite.xerial" label="SQLite drivers"/>
3941
<bundle id="drivers.mssql.new" label="SQL Server drivers"/>
4042
<bundle id="drivers.trino" label="Trino drivers"/>
@@ -58,6 +60,7 @@
5860
<driver id="sqlite:sqlite_jdbc"/>
5961
<driver id="sqlite:libsql_jdbc"/>
6062
<driver id="sqlserver:microsoft"/>
63+
<driver id="hive:apache_hive4"/>
6164
<driver id="generic:trino_jdbc"/>
6265
<driver id="generic:duckdb_jdbc"/>
6366
<driver id="generic:kyuubi_hive"/>

server/drivers/hive/pom.xml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3+
<modelVersion>4.0.0</modelVersion>
4+
<artifactId>drivers.hive</artifactId>
5+
<version>1.0.0</version>
6+
<parent>
7+
<groupId>io.cloudbeaver</groupId>
8+
<artifactId>drivers</artifactId>
9+
<version>1.0.0</version>
10+
<relativePath>../</relativePath>
11+
</parent>
12+
13+
<properties>
14+
<deps.output.dir>hive</deps.output.dir>
15+
</properties>
16+
17+
<dependencies>
18+
<dependency>
19+
<groupId>org.apache.hive</groupId>
20+
<artifactId>hive-jdbc</artifactId>
21+
<version>4.0.1</version>
22+
<classifier>standalone</classifier>
23+
<exclusions>
24+
<exclusion>
25+
<groupId>jdk.tools</groupId>
26+
<artifactId>jdk.tools</artifactId>
27+
</exclusion>
28+
</exclusions>
29+
</dependency>
30+
</dependencies>
31+
32+
</project>
33+

server/drivers/hive4/pom.xml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3+
<modelVersion>4.0.0</modelVersion>
4+
<artifactId>drivers.hive</artifactId>
5+
<version>1.0.0</version>
6+
<parent>
7+
<groupId>io.cloudbeaver</groupId>
8+
<artifactId>drivers</artifactId>
9+
<version>1.0.0</version>
10+
<relativePath>../</relativePath>
11+
</parent>
12+
13+
<properties>
14+
<deps.output.dir>hive</deps.output.dir>
15+
</properties>
16+
17+
<dependencies>
18+
<dependency>
19+
<groupId>org.apache.hive</groupId>
20+
<artifactId>hive-jdbc</artifactId>
21+
<version>4.0.1</version>
22+
<classifier>standalone</classifier>
23+
<exclusions>
24+
<exclusion>
25+
<groupId>jdk.tools</groupId>
26+
<artifactId>jdk.tools</artifactId>
27+
</exclusion>
28+
</exclusions>
29+
</dependency>
30+
</dependencies>
31+
32+
</project>
33+

server/drivers/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
<module>duckdb</module>
2424
<module>h2</module>
2525
<module>h2_v2</module>
26+
<module>hive</module>
2627
<module>jaybird</module>
2728
<module>kyuubi</module>
2829
<module>mysql</module>

0 commit comments

Comments
 (0)