-
Notifications
You must be signed in to change notification settings - Fork 0
Fix flightsql-odbc build error
#1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix flightsql-odbc build error
#1
Conversation
- Add ARROW_FLIGHT_SQL_ODBC option. If we set `ARROW_FLIGHT_SQL_ODBC=ON`, the flightsql odbc folder will be built - Add odbc api layer for entry_point.cc - builds odbc dll file, with ODBC APIs exported in odbc.def
… errors Fix boost-variant not found error - Adding dependencies from odbc/vcpkg.json to cpp/vcpkg.json - Fix whereami.cc and .h dependency; ported lates code Update whereami.cc - use `long` instead of `int64`. Fixed namespace issues. - PR CI fix: Add `parquet-testing` back Partial build fix for `flight_sql` folder - Replaced `namespace arrow` and `namespace odbcabstraction` with `using namespace ...` - fix flight_sql_connection.cc Fix `util::nullopt` to use `std::nullopt` - fix std::optional - fix BufferReader - Fix GetSchema - fix json_converter.cc - partial fix configuration.h - partial fix get_info_cache.cc - Fix winsock build error - Comment out `flight_sql` files that cannot build - Comment out configuration and unit tests - Comment out get info cache and system trust store
Fix cmake build
- Fix get info errors
- Fix for configuration window
- added odbcinst library
- Fix system trust store
- unit test fixes
- Add dependency of ARROW_COMPUTE. `arrow/compute/api.h` is used in
`flight_sql`. Adding `ARROW_COMPUTE=ON` during build fixed run time unit
tests failures.
|
Thanks for opening a pull request! If this is not a minor PR. Could you open an issue for this pull request on GitHub? https://github.com/apache/arrow/issues/new/choose Opening GitHub issues ahead of time contributes to the Openness of the Apache Arrow project. Then could you also rename the pull request title in the following format? or See also: |
And fix unneeded changes
1de8b94 to
df90149
Compare
df90149 to
3ecdfd4
Compare
cpp/submodules/parquet-testing
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Adding this submodule back, this addresses my comment on apache#40939
c97db94 to
dc20315
Compare
dc20315 to
dda37df
Compare
39d63eb to
f1e9507
Compare
alinaliBQ
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Adding comments to remind myself to make those comments for the community to review.
cpp/build-support/lint_cpp_cli.py
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note to myself: After this PR is merged, I will make comment on apache#40939:
CLI/C++ support is being removed (apache#45810) to allow usage of std::mutex, so adding the lint ignore here
cpp/vcpkg.json
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note to myself: After this PR is merged, I will make comment on apache#40939:
please review the cpp/vcpkg.json changes
cpp/vcpkg.json
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note to myself: After this PR is merged, I will make comment on apache#40939:
please review the cpp/vcpkg.json changes
dev/release/rat_exclude_files.txt
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note to myself: After this PR is merged, I will make comment on apache#40939:
- Is it ok for
whereami.handwhereami.ccto be added to rat exclusion? Thewhereamilibrary itself is MIT-licensed. - Do file
whereami.handwhereami.ccneed to be moved tocpp/src/arrow/vendored/*?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note to myself: After this PR is merged, I will make comment on apache#40939:
Using std::string is more suitable in the code base. Is usage of NOLINT ok here?
f1e9507 to
31c90bf
Compare
Rationale for this change
Fix
flightsql-odbcbuild errorWhat changes are included in this PR?
flightsql-odbc. For example to use newer versions of arrow code.Are these changes tested?
Changes are tested locally and by GitHub Actions
Are there any user-facing changes?
No