This is an automated email from the ASF dual-hosted git repository.

zhangliang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git


The following commit(s) were added to refs/heads/master by this push:
     new 58cae32f9ae Add Hive JDBC dependency for testing (#35360)
58cae32f9ae is described below

commit 58cae32f9aef13429f93733cd98c3726140f4775
Author: Liang Zhang <zhangli...@apache.org>
AuthorDate: Sat May 10 16:56:02 2025 +0800

    Add Hive JDBC dependency for testing (#35360)
    
    * Add Hive JDBC dependency for testing
    
    - Add Hive JDBC version 4.0.1 as a test dependency in pom.xml
    - This change supports improved Hive integration and testing
    
    * Add Hive JDBC dependency for testing
    
    - Add Hive JDBC version 4.0.1 as a test dependency in pom.xml
    - This change supports improved Hive integration and testing
---
 infra/database/type/hive/pom.xml | 7 +++++++
 pom.xml                          | 7 +++++++
 2 files changed, 14 insertions(+)

diff --git a/infra/database/type/hive/pom.xml b/infra/database/type/hive/pom.xml
index ea6600e4036..d16914d4772 100644
--- a/infra/database/type/hive/pom.xml
+++ b/infra/database/type/hive/pom.xml
@@ -33,6 +33,13 @@
             <version>${project.version}</version>
         </dependency>
         
+        <dependency>
+            <groupId>org.apache.hive</groupId>
+            <artifactId>hive-jdbc</artifactId>
+            <version>${hive-jdbc.version}</version>
+            <scope>provided</scope>
+            <optional>true</optional>
+        </dependency>
         <dependency>
             <groupId>io.github.linghengqian</groupId>
             <artifactId>hive-server2-jdbc-driver-thin</artifactId>
diff --git a/pom.xml b/pom.xml
index cce12fc78a9..e07ce7cad9d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -128,6 +128,7 @@
         <opengauss.version>3.1.0-og</opengauss.version>
         <mariadb-java-client.version>2.4.2</mariadb-java-client.version>
         <clickhouse-jdbc.version>0.6.3</clickhouse-jdbc.version>
+        <hive-jdbc.version>4.0.1</hive-jdbc.version>
         
<hive-server2-jdbc-driver-thin.version>1.7.0</hive-server2-jdbc-driver-thin.version>
         <hadoop.version>3.3.6</hadoop.version>
         <presto.version>0.288.1</presto.version>
@@ -483,6 +484,12 @@
                 <classifier>http</classifier>
                 <scope>test</scope>
             </dependency>
+            <dependency>
+                <groupId>org.apache.hive</groupId>
+                <artifactId>hive-jdbc</artifactId>
+                <version>${hive-jdbc.version}</version>
+                <scope>test</scope>
+            </dependency>
             <dependency>
                 <groupId>com.facebook.presto</groupId>
                 <artifactId>presto-jdbc</artifactId>

Reply via email to