GH-47877: [C++][FlightRPC] ODBC Linux rpm installer support with Cpack#49787
GH-47877: [C++][FlightRPC] ODBC Linux rpm installer support with Cpack#49787alinaliBQ wants to merge 2 commits into
Conversation
|
|
e00ac1b to
a5484a2
Compare
|
cc @justing-bq Please help with code review comments on this PR going forward |
c42a315 to
847f5d1
Compare
9b4d76e to
3987150
Compare
alinaliBQ
left a comment
There was a problem hiding this comment.
@justing-bq Please have a look at the comments, thanks
|
@kou @lidavidm Please take a look when you have time, thanks! cc @justing-bq |
a94a2c9 to
0aff342
Compare
1698678 to
e7a4ee7
Compare
7d300dc to
6848cdd
Compare
6848cdd to
eaf2333
Compare
|
@justing-bq Has addressed all comments and the ODBC CIs are passing, the CI failures not from ODBC related changes. |
|
I hope that we use Could you split a fix for #50218 as a separated PR? |
eaf2333 to
1f56e49
Compare
|
@kou Thanks for putting up the PR #50288 for I just want to make sure I understand the ask, are you suggesting that:
I think it would be beneficial to include the ODBC Linux driver registration script. My initial thinking was that community could use CPack approach first, and then CPack approach can be phased out by Previous thread: #49766 (comment). |
Yes, we will work on that cc @justing-bq |
|
I'm suggesting 1. or 2. BTW, https://manpages.ubuntu.com/manpages/focal/man5/odbcinst.ini.5.html says that we should use We can use
We will not make the CPack based packages "offical" packages because it conflicts with existing deb/RPM packages. We should not provide non "official" packages to users. We can provide non "official" packages to only Apache Arrow developers. I think that it's not useful for you. So I suggest the
If you can't test, I can't help you because I don't know the expected behavior... |
66ffa5e to
56a1d7e
Compare
* Implement RPM installer fix formatting Remove todos ODBC rpm Installer wrap up * installing `rpm` package fixed the `cpack` command issue * Fix cpack command on CI (merge into last commit when ready) Change to use `awk` so script works on both platforms Comment out `find` and `tree` steps Change build path to be under /arrow Since docker is mounted, changing build path to be in `/arrow` will allow host machine to access docker build contents TEMP - Disable non-ODBC items Add commands to find build folder Attempt to build RPM installer * not sure if `/build/cpp` can be accessed outside of docker. Hopefully it should. * add `rpm` dependency install Indicate RPM in workflow run Add rpm `postinstall` (not tested) Remove merge conflict code * Enable ODBC installer build in CI instead of `compose.yaml` Update workflow matrix Update cpp_extra.yml Fix package name ^ Conflicts: ^ .github/workflows/cpp_extra.yml
56a1d7e to
5905363
Compare
Now using |
Rationale for this change
GH-47877
What changes are included in this PR?
Add support for Linux ODBC
.rpminstaller.In
install_odbc.sh, changed to useawkon unix platforms asseddoesn't work well on Linux.Add installer readme section.
Add
ARROW_FLIGHT_SQL_ODBC_INSTALLERoption.Add missing
sudoto address #50218.The following contents will be installed by the
.rpminstaller:Are these changes tested?
Yes
Are there any user-facing changes?
Developers can download RPM installer from the CI.