Skip to content

GH-47877: [Packaging][C++][FlightRPC][ODBC] Add arrow-flight-sql-odbc - #50288

Merged
kou merged 1 commit into
apache:mainfrom
kou:rpm-odbc
Jul 6, 2026
Merged

GH-47877: [Packaging][C++][FlightRPC][ODBC] Add arrow-flight-sql-odbc#50288
kou merged 1 commit into
apache:mainfrom
kou:rpm-odbc

Conversation

@kou

@koukou commented Jun 30, 2026

Copy link
Copy Markdown
Member

Rationale for this change

If we provide RPM for Flight SQL ODBC driver, users can install it easily.

What changes are included in this PR?

  • Add arrow${MAJOR_VERSION}-flight-sql-odbc-libs
  • Add arrow-flight-sql-odbc-devel

Are these changes tested?

No.

We need to generate configuration files but it's out-of-scope of this PR. We need to work on it as a separated task.

Are there any user-facing changes?

Yes.

@github-actionsgithub-actionsBot added CI: Extra: Package: Linux Run extra Linux Packages CI awaiting committer review Awaiting committer review labels Jun 30, 2026
CopilotAI review requested due to automatic review settings July 1, 2026 05:48

CopilotAI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR extends the Yum/RPM packaging for the C++ Flight SQL components by enabling and packaging the Flight SQL ODBC driver, so users can install it via RPMs.

Changes:

  • Enable building the Flight SQL ODBC driver in the RPM build (-DARROW_FLIGHT_SQL_ODBC=ON) and add the required build dependency (unixODBC-devel).
  • Add new RPM subpackages for the driver: arrow${so_version}-flight-sql-odbc-libs and arrow-flight-sql-odbc-devel, and adjust file ownership between flight-sql-devel and the new ODBC devel package.
  • Extend the Yum verification script to install the new arrow-flight-sql-odbc-devel package.

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 1 comment.

Show a summary per file
FileDescription
dev/tasks/linux-packages/apache-arrow/yum/centos-9-stream/DockerfileAdds unixODBC development headers to the CentOS 9 Stream build container.
dev/tasks/linux-packages/apache-arrow/yum/amazon-linux-2023/DockerfileAdds unixODBC development headers to the Amazon Linux 2023 build container.
dev/tasks/linux-packages/apache-arrow/yum/almalinux-8/DockerfileAdds unixODBC development headers to the AlmaLinux 8 build container.
dev/tasks/linux-packages/apache-arrow/yum/almalinux-9/DockerfileAdds unixODBC development headers to the AlmaLinux 9 build container.
dev/tasks/linux-packages/apache-arrow/yum/almalinux-10/DockerfileAdds unixODBC development headers to the AlmaLinux 10 build container.
dev/tasks/linux-packages/apache-arrow/yum/arrow.spec.inEnables ODBC build in RPM, adds new ODBC RPM subpackages, and adjusts Flight SQL devel dependencies/files.
dev/release/verify-yum.shInstalls the new Flight SQL ODBC devel package during RPM verification.

Comment on lines +509 to +512
License: Apache-2.0
Requires: %{name}%{so_version}-flight-sql-odbc-libs = %{version}-%{release}
Requires: %{name}-flight-sql-devel = %{version}-%{release}

@koukou left a comment

Copy link
Copy Markdown
MemberAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

No objection.

@kou
kou merged commit a1ec26f into apache:mainJul 6, 2026
49 checks passed
@koukou removed the awaiting committer review Awaiting committer review label Jul 6, 2026
@kou
kou deleted the rpm-odbc branch July 6, 2026 01:16
@github-actionsgithub-actionsBot added the awaiting changes Awaiting changes label Jul 6, 2026
@conbench-apache-arrow

Copy link
Copy Markdown

After merging your PR, Conbench analyzed the 4 benchmarking runs that have been run so far on merge-commit a1ec26f.

There were no benchmark performance regressions. 🎉

The full Conbench report has more details. It also includes information about 9 possible false positives for unstable benchmarks that are known to sometimes produce them.

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting changesAwaiting changesCI: Extra: Package: LinuxRun extra Linux Packages CI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@kou