Apache DataFusion SQL Query Engine
ARROW-7502: [Integration] Remove Spark patch not needed
Bryan Cutler517b5e37d731
diff --git a/ci/docker/conda-python-spark.dockerfile b/ci/docker/conda-python-spark.dockerfileindex ece62ca56d..d863ef3727 100644--- a/ci/docker/conda-python-spark.dockerfile+++ b/ci/docker/conda-python-spark.dockerfile@@ -32,7 +32,6 @@ RUN conda install -q \# installing specific version of sparkARG spark=masterCOPY ci/scripts/install_spark.sh /arrow/ci/scripts/-COPY ci/etc/ARROW-6429.patch /arrow/ci/etc/RUN /arrow/ci/scripts/install_spark.sh ${spark} /spark /arrow/ci/etc# build cpp with testsdiff --git a/ci/etc/ARROW-6429.patch b/ci/etc/ARROW-6429.patchdeleted file mode 100644index e614084711..0000000000--- a/ci/etc/ARROW-6429.patch+++ /dev/null@@ -1,31 +0,0 @@-diff --git a/sql/core/src/main/scala/org/apache/spark/sql/execution/arrow/ArrowConverters.scala b/sql/core/src/main/scala/org/apache/spark/sql/execution/arrow/ArrowConverters.scala-index 1a6f4ac..42d555b 100644---- a/sql/core/src/main/scala/org/apache/spark/sql/execution/arrow/ArrowConverters.scala-+++ b/sql/core/src/main/scala/org/apache/spark/sql/execution/arrow/ArrowConverters.scala-@@ -26,7 +26,7 @@ import org.apache.arrow.flatbuf.MessageHeader- import org.apache.arrow.memory.BufferAllocator- import org.apache.arrow.vector._- import org.apache.arrow.vector.ipc.{ArrowStreamWriter, ReadChannel, WriteChannel}--import org.apache.arrow.vector.ipc.message.{ArrowRecordBatch, MessageSerializer}-+import org.apache.arrow.vector.ipc.message.{ArrowRecordBatch, IpcOption, MessageSerializer}-- import org.apache.spark.TaskContext- import org.apache.spark.api.java.JavaRDD-@@ -64,7 +64,7 @@ private[sql] class ArrowBatchStreamWriter(- * End the Arrow stream, does not close output stream.- */- def end(): Unit = {-- ArrowStreamWriter.writeEndOfStream(writeChannel)-+ ArrowStreamWriter.writeEndOfStream(writeChannel, new IpcOption)- }- }--@@ -252,7 +252,7 @@ private[sql] object ArrowConverters {- if (msgMetadata.getMessage.headerType() == MessageHeader.RecordBatch) {-- // Buffer backed output large enough to hold the complete serialized message-- val bbout = new ByteBufferOutputStream(4 + msgMetadata.getMessageLength + bodyLength)-+ val bbout = new ByteBufferOutputStream(8 + msgMetadata.getMessageLength + bodyLength)-- // Write message metadata to ByteBuffer output stream- MessageSerializer.writeMessageBuffer(diff --git a/ci/scripts/install_spark.sh b/ci/scripts/install_spark.shindex ec3e77f177..43f2f58c02 100755--- a/ci/scripts/install_spark.sh+++ b/ci/scripts/install_spark.sh@@ -30,6 +30,3 @@ patches=${3}mkdir "${target}"wget -q -O - https://github.com/apache/spark/archive/${spark}.tar.gz | tar -xzf - --strip-components=1 -C "${target}"--# Patch spark to build with current Arrow Java-# patch -d "${target}" -p1 -i "${patches}/ARROW-6429.patch"diff --git a/dev/release/rat_exclude_files.txt b/dev/release/rat_exclude_files.txtindex 64481e82b3..deadc82abc 100644--- a/dev/release/rat_exclude_files.txt+++ b/dev/release/rat_exclude_files.txt@@ -144,7 +144,6 @@ dev/tasks/linux-packages/apache-arrow/debian/source/formatdev/tasks/linux-packages/apache-arrow/debian/watchdev/tasks/conda-recipes/*docs/requirements.txt-ci/etc/ARROW-6429.patchgo/arrow/go.sumgo/arrow/Gopkg.lockgo/arrow/internal/cpu/*