Skip to content

Apache DataFusion SQL Query Engine

ARROW-10178: [CI] Remove patch to fix Spark master build

Bryan Cutler44ac2571ae0d
diff --git a/ci/docker/conda-python-spark.dockerfile b/ci/docker/conda-python-spark.dockerfile
index a20f1ff352..d3f0a22458 100644
--- a/ci/docker/conda-python-spark.dockerfile
+++ b/ci/docker/conda-python-spark.dockerfile
@@ -36,10 +36,6 @@ ARG spark=master
COPY ci/scripts/install_spark.sh /arrow/ci/scripts/
RUN /arrow/ci/scripts/install_spark.sh ${spark} /spark
-# patch spark to build with current Arrow Java
-COPY ci/etc/integration_spark_ARROW-9438.patch /arrow/ci/etc/
-RUN patch -d /spark -p1 -i /arrow/ci/etc/integration_spark_ARROW-9438.patch
-
# build cpp with tests
ENV CC=gcc \
CXX=g++ \
diff --git a/ci/etc/integration_spark_ARROW-9438.patch b/ci/etc/integration_spark_ARROW-9438.patch
deleted file mode 100644
index 2baed30371..0000000000
--- a/ci/etc/integration_spark_ARROW-9438.patch
+++ /dev/null
@@ -1,72 +0,0 @@
-From 0b5388a945a7e5c5706cf00d0754540a6c68254d Mon Sep 17 00:00:00 2001
-From: Bryan Cutler <[email protected]>
-Date: Mon, 13 Jul 2020 23:12:25 -0700
-Subject: [PATCH] Update Arrow Java for 1.0.0
-
----
- pom.xml | 17 ++++++++++++++---
- sql/catalyst/pom.xml | 4 ++++
- 2 files changed, 18 insertions(+), 3 deletions(-)
-
-diff --git a/pom.xml b/pom.xml
-index 08ca13bfe9..6619fca200 100644
---- a/pom.xml
-+++ b/pom.xml
-@@ -199,7 +199,7 @@
- If you are changing Arrow version specification, please check ./python/pyspark/sql/utils.py,
- and ./python/setup.py too.
- -->
-- <arrow.version>0.15.1</arrow.version>
-+ <arrow.version>1.0.0-SNAPSHOT</arrow.version>
- <!-- org.fusesource.leveldbjni will be used except on arm64 platform. -->
- <leveldbjni.group>org.fusesource.leveldbjni</leveldbjni.group>
-
-@@ -2288,7 +2288,7 @@
- </exclusion>
- <exclusion>
- <groupId>com.fasterxml.jackson.core</groupId>
-- <artifactId>jackson-databind</artifactId>
-+ <artifactId>jackson-core</artifactId>
- </exclusion>
- <exclusion>
- <groupId>io.netty</groupId>
-@@ -2298,9 +2298,20 @@
- <groupId>io.netty</groupId>
- <artifactId>netty-common</artifactId>
- </exclusion>
-+ </exclusions>
-+ </dependency>
-+ <dependency>
-+ <groupId>org.apache.arrow</groupId>
-+ <artifactId>arrow-memory-netty</artifactId>
-+ <version>${arrow.version}</version>
-+ <exclusions>
- <exclusion>
- <groupId>io.netty</groupId>
-- <artifactId>netty-handler</artifactId>
-+ <artifactId>netty-buffer</artifactId>
-+ </exclusion>
-+ <exclusion>
-+ <groupId>io.netty</groupId>
-+ <artifactId>netty-common</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
-diff --git a/sql/catalyst/pom.xml b/sql/catalyst/pom.xml
-index 9edbb7fec9..6b79eb722f 100644
---- a/sql/catalyst/pom.xml
-+++ b/sql/catalyst/pom.xml
-@@ -117,6 +117,10 @@
- <groupId>org.apache.arrow</groupId>
- <artifactId>arrow-vector</artifactId>
- </dependency>
-+ <dependency>
-+ <groupId>org.apache.arrow</groupId>
-+ <artifactId>arrow-memory-netty</artifactId>
-+ </dependency>
- </dependencies>
- <build>
- <outputDirectory>target/scala-${scala.binary.version}/classes</outputDirectory>
---
-2.17.1
-