Skip to content

GH-50697: [C++][FlightRPC] ODBC installer support fixes - #50748

Merged
lidavidm merged 3 commits into
apache:mainfrom
Bit-Quill:gh-50697-odbc-installer-fix
Aug 5, 2026
Merged

GH-50697: [C++][FlightRPC] ODBC installer support fixes#50748
lidavidm merged 3 commits into
apache:mainfrom
Bit-Quill:gh-50697-odbc-installer-fix

Conversation

@alinaliBQ

@alinaliBQ alinaliBQ commented Jul 30, 2026

Copy link
Copy Markdown
Collaborator

Rationale for this change

GH-50697

I have tested the RPM ODBC installer on AlmaLinux 9. The ODBC driver works as expected on AlmaLinux 9. The only issue I found was that the connection-options.md guide was not included in the package installation. This PR adds connection-options.md to the RPM ODBC package so users can reference the connection options documentation after installation.

Summary of testing results:

  1. Clean install - driver works as expected and registered successfully, arrow installer installs isql and unixODBC during installation.
  2. Uninstall - driver is uninstalled and unregistered automatically, arrow installer flags and uninstalls isql and unixODBC as unused dependency during installation.
    If user wants to avoid this behavior, they can add --noautoremove flag to make dnf keep isql and unixODBC during ODBC uninstallation.
  3. Upgrade - driver can be upgraded to new version.
  4. Data retrieval works as expected, no dependency issues found.

What changes are included in this PR?

  • Add connection-options.md to the RPM ODBC package installation.
    • Example location after install: /usr/share/doc/arrow2600-flight-sql-odbc-libs/connection-options.md
  • Fix Windows ODBC installer to include docs LICENSE.txt and NOTICE.txt
  • Add ODBC installer description to ODBC README.md

Are these changes tested?

Yes

Are there any user-facing changes?

Yes

- Add installer description to ReadMe
- Fix `docs` on Windows to include docs

Co-authored-by: justing-bq <justin.gossett@improving.com>
The installed file would be under `usr/share/doc/arrow2600-flight-sql-odbc-libs/connection-options.md`
@alinaliBQ alinaliBQ added CI: Extra: C++ Run extra C++ CI CI: Extra: Package: Linux Run extra Linux Packages CI labels Jul 30, 2026
@alinaliBQ
alinaliBQ marked this pull request as ready for review July 31, 2026 17:27
@alinaliBQ

Copy link
Copy Markdown
Collaborator Author

Hi @kou cc @lidavidm, this PR is ready for review.

The CI failures don't appear related to the code changes. Package Linux debian-trixie-arm64 failed due to operation being canceled. If possible, could you help to re-run debian-trixie-arm64?

@kou kou left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

+1

Comment thread dev/tasks/linux-packages/apache-arrow/yum/arrow.spec.in Outdated
@github-actions github-actions Bot added awaiting merge Awaiting merge and removed awaiting review Awaiting review labels Aug 1, 2026
Co-authored-by: Sutou Kouhei <kou@cozmixng.org>
@alinaliBQ

Copy link
Copy Markdown
Collaborator Author

I applied the change and the CI failures still look unrelated, some failures might be due to GitHub connection issue:

C++ Extra / ODBC release AMD64 macOS 15-intel (pull_request):

Error: Failed to CreateArtifact: Unable to make request: ENOTFOUND

Package Linux / almalinux-8-amd64 (pull_request):

ERROR: failed to build: failed to solve: DeadlineExceeded: DeadlineExceeded: almalinux:8: failed to resolve source metadata for docker.io/library/almalinux:8: failed to do request: Head "https://registry-1.docker.io/v2/library/almalinux/manifests/8": dial tcp 52.21.165.20:443: i/o timeout

@lidavidm

lidavidm commented Aug 5, 2026

Copy link
Copy Markdown
Member

I kicked all the failing jobs

@lidavidm
lidavidm merged commit 4dd7eb7 into apache:main Aug 5, 2026
161 of 170 checks passed
@lidavidm lidavidm removed the awaiting merge Awaiting merge label Aug 5, 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 4dd7eb7.

There were no benchmark performance regressions. 🎉

The full Conbench report has more details.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants