Skip to content

Apache DataFusion SQL Query Engine

PARQUET-1692: [C++] LogicalType::FromThrift error on Centos 7 RPM

Or Ozeria9746deea201
diff --git a/dev/tasks/linux-packages/apache-arrow/yum/arrow.spec.in b/dev/tasks/linux-packages/apache-arrow/yum/arrow.spec.in
index 3188f157ea..fd6ba2a7c4 100644
--- a/dev/tasks/linux-packages/apache-arrow/yum/arrow.spec.in
+++ b/dev/tasks/linux-packages/apache-arrow/yum/arrow.spec.in
@@ -44,7 +44,6 @@
%define use_meson (%{_centos_ver} >= 8)
%define have_rapidjson (%{_centos_ver} == 7)
-%define have_thrift (%{_centos_ver} == 7)
Name: @PACKAGE@
Version: @VERSION@
@@ -94,9 +93,6 @@ BuildRequires: ncurses-devel
%if %{use_parquet}
BuildRequires: bison
BuildRequires: flex
- %if %{have_thrift}
-BuildRequires: thrift-devel
- %endif
%endif
%if %{use_glib}
@@ -473,9 +469,6 @@ Libraries and header files for Plasma in-memory object store.
Summary: Runtime libraries for Apache Parquet C++
License: Apache-2.0
Requires: boost%{boost_version}-program-options
- %if %{have_thrift}
-Requires: thrift
- %endif
Requires: %{name}-libs = %{version}-%{release}
%description -n parquet-libs
diff --git a/dev/tasks/linux-packages/apache-arrow/yum/centos-7/Dockerfile b/dev/tasks/linux-packages/apache-arrow/yum/centos-7/Dockerfile
index e3a297aa18..bfc34819a0 100644
--- a/dev/tasks/linux-packages/apache-arrow/yum/centos-7/Dockerfile
+++ b/dev/tasks/linux-packages/apache-arrow/yum/centos-7/Dockerfile
@@ -51,6 +51,5 @@ RUN \
rpmdevtools \
snappy-devel \
tar \
- thrift-devel \
zlib-devel && \
yum clean ${quiet} all
diff --git a/dev/tasks/linux-packages/apache-arrow/yum/centos-8/Dockerfile b/dev/tasks/linux-packages/apache-arrow/yum/centos-8/Dockerfile
index 3561c0c36c..d10cf08279 100644
--- a/dev/tasks/linux-packages/apache-arrow/yum/centos-8/Dockerfile
+++ b/dev/tasks/linux-packages/apache-arrow/yum/centos-8/Dockerfile
@@ -58,6 +58,5 @@ RUN \
rpmdevtools \
snappy-devel \
tar \
- # thrift-devel \
zlib-devel && \
dnf clean ${quiet} all