Skip to content

GH-50518: [Packaging][C++][FlightRPC][ODBC][RPM] Add suppport for auto driver registration#50521

Open
kou wants to merge 1 commit into
apache:mainfrom
kou:rpm-odbc-install
Open

GH-50518: [Packaging][C++][FlightRPC][ODBC][RPM] Add suppport for auto driver registration#50521
kou wants to merge 1 commit into
apache:mainfrom
kou:rpm-odbc-install

Conversation

@kou

@kou kou commented Jul 16, 2026

Copy link
Copy Markdown
Member

Rationale for this change

It's convenient when dnf install arrow26-flight-sql-odbc-libs registers our driver automatically.

What changes are included in this PR?

  • Generate arrow-flight-sql-odbc-template.ini for odbcinst -i -d -f
  • Run odbcinst -i -d -f arrow-flight-sql-odbc-template.ini automatically on install
  • Run odbcinst -u -d -n "Apache Arrow Flight SQL ODBC Driver" automatically on uninstall

Are these changes tested?

Yes.

Are there any user-facing changes?

Yes.

Copilot AI review requested due to automatic review settings July 16, 2026 05:45

Copilot AI 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.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@kou kou added the CI: Extra: Package: Linux Run extra Linux Packages CI label Jul 16, 2026
@github-actions

Copy link
Copy Markdown

⚠️ GitHub issue #50518 has been automatically assigned in GitHub to PR creator.

@kou

kou commented Jul 16, 2026

Copy link
Copy Markdown
Member Author

@alinaliBQ @justing-bq Could you take a look at this?

@kou

kou commented Jul 17, 2026

Copy link
Copy Markdown
Member Author

https://github.com/apache/arrow/actions/runs/29474757549/job/87545268233?pr=50521#step:20:2622

Registered automatically:

  + odbcinst -q -d -n 'Apache Arrow Flight SQL ODBC Driver'
  [Apache Arrow Flight SQL ODBC Driver]
  Description=An ODBC Driver for Apache Arrow Flight SQL
  Driver=/usr/lib64/libarrow_flight_sql_odbc.so.2600.0.0
  UsageCount=1

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.

2 participants