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

marin-ma pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/gluten.git


The following commit(s) were added to refs/heads/main by this push:
     new 21a73670db [CORE] Remove arrow relocation (#13096)
21a73670db is described below

commit 21a73670dbf231be50d447a95abc8c7223abea3e
Author: Rong Ma <[email protected]>
AuthorDate: Wed Oct 7 09:29:02 2026 +0100

    [CORE] Remove arrow relocation (#13096)
---
 package/pom.xml | 31 -------------------------------
 1 file changed, 31 deletions(-)

diff --git a/package/pom.xml b/package/pom.xml
index 8fdac49fe2..bb2f7003d0 100644
--- a/package/pom.xml
+++ b/package/pom.xml
@@ -121,37 +121,6 @@
                     <include>com.google.gson.**</include>
                   </includes>
                 </relocation>
-                <relocation>
-                  <pattern>org.apache.arrow</pattern>
-                  
<shadedPattern>${gluten.shade.packageName}.org.apache.arrow</shadedPattern>
-                  <!--
-                    arrow's C wrapper refers to the original class path, so it
-                    must not be relocated. Its public APIs also take and return
-                    org.apache.arrow.memory.* and org.apache.arrow.vector.*
-                    types, so those packages must also stay unshaded —
-                    otherwise the bundled (unshaded) 
ArrowArrayStream/ArrowSchema
-                    get compiled against the relocated
-                    BufferAllocator/VectorSchemaRoot, producing
-                    `NoSuchMethodError` for any caller passing a vanilla
-                    Apache Arrow allocator. See #12225.
-
-                    org.apache.arrow.util.** is the fourth and last package
-                    org.apache.arrow.c reaches: Preconditions.checkNotNull from
-                    the ArrowArray/ArrowSchema constructors, plus 
AutoCloseables
-                    and Collections2 from the import/export paths. It is not 
part
-                    of the public signature so it survived #12225, but the call
-                    sites live in the constant pool of the unshaded classes all
-                    the same, and there is no unshaded copy to bind to once
-                    arrow-memory-core stops being bundled.
-                  -->
-                  <excludes>
-                    <exclude>org.apache.arrow.c.*</exclude>
-                    <exclude>org.apache.arrow.c.jni.*</exclude>
-                    <exclude>org.apache.arrow.memory.**</exclude>
-                    <exclude>org.apache.arrow.vector.**</exclude>
-                    <exclude>org.apache.arrow.util.**</exclude>
-                  </excludes>
-                </relocation>
                 <relocation>
                   <pattern>com.google.flatbuffers</pattern>
                   
<shadedPattern>${gluten.shade.packageName}.com.google.flatbuffers</shadedPattern>


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to