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

voonhous pushed a commit to tag rfc-105-pre-cleanup
in repository https://gitbox.apache.org/repos/asf/hudi.git

commit 36fc2b93f110d9f1885e636369ceb3a6f7ae8d40
Author: voon <[email protected]>
AuthorDate: Fri May 22 21:02:50 2026 +0800

    chore(trino): bump trino.connector.version to 480
    
    Aligns the SPI the bundle is compiled against with the Trino-side
    hudi-shim branch (480-SNAPSHOT). Two BOM-resolution gaps surfaced:
    
    - com.google.inject:guice is only managed under 
<classifier>classes</classifier>
      in Trino 480 (the "classes-only" variant Trino imports throughout);
      the plain jar coordinate is no longer in the BOM. Switched the dep
      to match Trino's own usage in plugin/trino-hive.
    - io.trino:trino-spi:test-jar is not keyed by the BOM (Maven keys dep
      mgmt on GAV+type+classifier), so the test-jar coord needs an explicit
      version. Pinned to dep.trino.version.
---
 hudi-trino-plugin/pom.xml | 4 ++++
 pom.xml                   | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/hudi-trino-plugin/pom.xml b/hudi-trino-plugin/pom.xml
index a526e593637d..0db6338fbaa3 100644
--- a/hudi-trino-plugin/pom.xml
+++ b/hudi-trino-plugin/pom.xml
@@ -79,8 +79,10 @@
         </dependency>
 
         <dependency>
+            <!-- Trino bundles guice as the classes-only classifier; the BOM 
does not manage the plain jar. -->
             <groupId>com.google.inject</groupId>
             <artifactId>guice</artifactId>
+            <classifier>classes</classifier>
         </dependency>
 
         <dependency>
@@ -375,8 +377,10 @@
         </dependency>
 
         <dependency>
+            <!-- BOM does not manage test-jar coordinate; declare the version 
explicitly. -->
             <groupId>io.trino</groupId>
             <artifactId>trino-spi</artifactId>
+            <version>${dep.trino.version}</version>
             <type>test-jar</type>
             <scope>test</scope>
         </dependency>
diff --git a/pom.xml b/pom.xml
index fbefb7577389..75866f586f60 100644
--- a/pom.xml
+++ b/pom.xml
@@ -130,7 +130,7 @@
     <presto.version>0.273</presto.version>
     <trino.version>390</trino.version>
     <!-- Trino SPI version that hudi-trino-plugin (RFC-105) compiles against. 
-->
-    <trino.connector.version>472</trino.connector.version>
+    <trino.connector.version>480</trino.connector.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