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

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


The following commit(s) were added to refs/heads/master by this push:
     new 8195fb5d9022 chore(integ-test): bump trino-jdbc 390 to 481 (#19073)
8195fb5d9022 is described below

commit 8195fb5d902298b5ba32f9a2e0e546610188e779
Author: voonhous <[email protected]>
AuthorDate: Fri Jun 26 21:03:46 2026 +0800

    chore(integ-test): bump trino-jdbc 390 to 481 (#19073)
    
    * build(integ-test): bump trino-jdbc 390 to 481
    
    The TrinoQueryNode JDBC client lagged at Trino 390. Bump trino.version
    to 481 (current release). The integ-test only touches the driver via
    java.sql + Class.forName, so there is no compile-time coupling; the
    driver core is Java 11 bytecode, matching the project's java.version
    floor.
    
    Refs #19059
    
    * fix(integ-test-bundle): exclude trino-jdbc aircompressor v3 (Java 25) 
classes from shade
    
    trino-jdbc 481 bundles aircompressor v3 compiled to Java 25 (class file
    major version 69). maven-shade-plugin 3.5.3 pins ASM 9.7, which cannot
    read major 69, so the integ-test-bundle shade fails with
    'Unsupported class file major version 69'.
    
    These v3 classes are unreferenced by the JDBC client (the spooling
    DecompressionUtils binds the legacy Java 8 lz4/zstd codecs), so filter
    the whole compress/v3 subtree out of the bundle. The driver and the
    legacy codecs it actually uses are retained.
    
    Refs #19059
---
 packaging/hudi-integ-test-bundle/pom.xml | 10 ++++++++++
 pom.xml                                  |  2 +-
 2 files changed, 11 insertions(+), 1 deletion(-)

diff --git a/packaging/hudi-integ-test-bundle/pom.xml 
b/packaging/hudi-integ-test-bundle/pom.xml
index 52340f12e608..218ae5372d1d 100644
--- a/packaging/hudi-integ-test-bundle/pom.xml
+++ b/packaging/hudi-integ-test-bundle/pom.xml
@@ -296,6 +296,16 @@
                     <exclude>**/*.proto</exclude>
                   </excludes>
                 </filter>
+                <filter>
+                  <!-- trino-jdbc bundles aircompressor v3 compiled to Java 25 
(class major
+                       version 69), which the shade plugin's ASM cannot read. 
These classes are
+                       unreferenced by the JDBC client (the spooling 
DecompressionUtils binds the
+                       legacy Java 8 lz4/zstd codecs), so drop the whole 
subtree from the bundle. -->
+                  <artifact>io.trino:trino-jdbc</artifact>
+                  <excludes>
+                    
<exclude>io/trino/jdbc/$internal/airlift/compress/v3/**</exclude>
+                  </excludes>
+                </filter>
               </filters>
             </configuration>
           </execution>
diff --git a/pom.xml b/pom.xml
index 7e328169b350..f142ebf009b8 100644
--- a/pom.xml
+++ b/pom.xml
@@ -131,7 +131,7 @@
     <hive.parquet.version>1.10.1</hive.parquet.version>
     <hive.avro.version>1.11.4</hive.avro.version>
     <presto.version>0.273</presto.version>
-    <trino.version>390</trino.version>
+    <trino.version>481</trino.version>
     <hive.exec.classifier>core</hive.exec.classifier>
     <metrics.version>4.1.1</metrics.version>
     <orc.spark.version>1.6.0</orc.spark.version>

Reply via email to