You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
…45513)
### Rationale for this change
When building the Arrow library without IPC, the library ends up with undefined symbols to functions that are only available with ARROW_IPC=ON
### What changes are included in this PR?
Use the ARROW_IPC macro to detect if IPC is being used, and when not, return a NotImplementedError
### Are these changes tested?
Compiles cleanly and no longer shows undefined IPC symbols
### Are there any user-facing changes?
No
* GitHub Issue: #45512
Authored-by: Will Ayd <[email protected]>
Signed-off-by: Sutou Kouhei <[email protected]>
Describe the bug, including details regarding any error messages, version, and platform.
If you disable every option of the C++ build:
$ cmake -S . -B build -DCMAKE_BUILD_TYPE=Debug -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -G Ninja -DARROW_COMPUTE=OFF -DARROW_IPC=OFF -DARROW_JSON=OFF -DARROW_CSV=OFF -DARROW_BUILD_TESTS=OFF -DARROW_FILESYSTEM=OFF -DARROW_BUILD_INTEGRATION=OFF -DARROW_ALTIVEC=OFF $ cmake --build build
The produced libarrow.so file will contain undefined symbols:
As far as I can tell from the linker, these symbols are required by arrow/compute/expression.cc
This issue was originally noticed in #45441 (comment)
Component(s)
C++
The text was updated successfully, but these errors were encountered: