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

dongjoon pushed a commit to branch branch-2.3
in repository https://gitbox.apache.org/repos/asf/orc.git


The following commit(s) were added to refs/heads/branch-2.3 by this push:
     new 1f43ca5c5 ORC-2122: Upgrade `spark.jackson.version` to 2.21.1 in bench 
module
1f43ca5c5 is described below

commit 1f43ca5c5211b88e111a019737bc2f7f133bc15c
Author: Dongjoon Hyun <[email protected]>
AuthorDate: Wed Mar 4 12:57:28 2026 -0800

    ORC-2122: Upgrade `spark.jackson.version` to 2.21.1 in bench module
    
    ### What changes were proposed in this pull request?
    
    This PR aims to upgrade `spark.jackson.version` to 2.21.1 in bench module.
    
    ### Why are the changes needed?
    
    From 2.21, we need to use BOM.
    
    https://cowtowncoder.medium.com/jackson-2-21-released-ce0b6582ae67
    
    To use the latest version like Apache Spark.
    - apache/spark#52668 (Apache Spark 4.1.0)
    - apache/spark#53886 (Apache Spark 4.2.0-preview2)
    - apache/spark#54626
    
    ### How was this patch tested?
    
    Pass the CIs.
    
    ### Was this patch authored or co-authored using generative AI tooling?
    
    Generated-by: `Gemini 3.1 Pro (High)` on `Antigravity`.
    
    Closes #2570 from dongjoon-hyun/ORC-2122.
    
    Authored-by: Dongjoon Hyun <[email protected]>
    Signed-off-by: Dongjoon Hyun <[email protected]>
    (cherry picked from commit 8167cbc94e89037ff62ec224f0cc9a2f8f33e244)
    Signed-off-by: Dongjoon Hyun <[email protected]>
---
 java/bench/spark/pom.xml | 18 +++++-------------
 1 file changed, 5 insertions(+), 13 deletions(-)

diff --git a/java/bench/spark/pom.xml b/java/bench/spark/pom.xml
index ee68f6c07..fde9e61ea 100644
--- a/java/bench/spark/pom.xml
+++ b/java/bench/spark/pom.xml
@@ -37,7 +37,7 @@
     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
 
     <!-- Spark Jackson version may not be same as ORC -->
-    <spark.jackson.version>2.18.2</spark.jackson.version>
+    <spark.jackson.version>2.21.1</spark.jackson.version>
   </properties>
 
   <dependencies>
@@ -114,19 +114,11 @@
       <artifactId>scala-library</artifactId>
     </dependency>
     <dependency>
-      <groupId>com.fasterxml.jackson.core</groupId>
-      <artifactId>jackson-core</artifactId>
-      <version>${spark.jackson.version}</version>
-    </dependency>
-    <dependency>
-      <groupId>com.fasterxml.jackson.core</groupId>
-      <artifactId>jackson-databind</artifactId>
-      <version>${spark.jackson.version}</version>
-    </dependency>
-    <dependency>
-      <groupId>com.fasterxml.jackson.core</groupId>
-      <artifactId>jackson-annotations</artifactId>
+      <groupId>com.fasterxml.jackson</groupId>
+      <artifactId>jackson-bom</artifactId>
       <version>${spark.jackson.version}</version>
+      <type>pom</type>
+      <scope>import</scope>
     </dependency>
     <!-- This should be the same with Spark's dependency. -->
     <dependency>

Reply via email to