Skip to content

Commit 744fc3a

Browse files
Merge pull request #19 from actiontech/support_hive
feat: add Apache Hive 2 driver support and update related configurations
2 parents cc8470c + 179ba30 commit 744fc3a

3 files changed

Lines changed: 40 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/hive2"/>
1718
<resource name="drivers/hive4"/>
1819
<resource name="drivers/sqlite/xerial"/>
1920
<resource name="drivers/mssql/new"/>
@@ -36,6 +37,7 @@
3637
<bundle id="drivers.firebird" label="Firebird drivers"/>
3738
<bundle id="drivers.h2" label="H2 drivers"/>
3839
<bundle id="drivers.h2_v2" label="H2 v2 drivers"/>
40+
<bundle id="drivers.hive2" label="Apache Hive 2 drivers"/>
3941
<bundle id="drivers.hive4" label="Apache Hive drivers"/>
4042
<bundle id="drivers.sqlite.xerial" label="SQLite drivers"/>
4143
<bundle id="drivers.mssql.new" label="SQL Server drivers"/>
@@ -60,6 +62,7 @@
6062
<driver id="sqlite:sqlite_jdbc"/>
6163
<driver id="sqlite:libsql_jdbc"/>
6264
<driver id="sqlserver:microsoft"/>
65+
<driver id="hive:apache_hive2"/>
6366
<driver id="hive:apache_hive4"/>
6467
<driver id="generic:trino_jdbc"/>
6568
<driver id="generic:duckdb_jdbc"/>

server/drivers/hive2/pom.xml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
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.hive2</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>hive2</deps.output.dir>
15+
</properties>
16+
17+
<dependencies>
18+
<dependency>
19+
<groupId>org.apache.hive</groupId>
20+
<artifactId>hive-jdbc</artifactId>
21+
<version>2.3.9</version>
22+
<exclusions>
23+
<exclusion>
24+
<groupId>jdk.tools</groupId>
25+
<artifactId>jdk.tools</artifactId>
26+
</exclusion>
27+
<exclusion>
28+
<groupId>org.slf4j</groupId>
29+
<artifactId>slf4j-log4j12</artifactId>
30+
</exclusion>
31+
</exclusions>
32+
</dependency>
33+
</dependencies>
34+
35+
</project>
36+

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>hive2</module>
2627
<module>hive4</module>
2728
<module>jaybird</module>
2829
<module>kyuubi</module>

0 commit comments

Comments
 (0)