You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "westonpace (via GitHub)" <gi...@apache.org> on 2023/05/08 17:32:48 UTC

[GitHub] [arrow] westonpace commented on issue #35394: Use statically linked cpp-(py)arrow with cxx11 ABI with vanilla manylinux2014 pyarrow fails (segfault)

westonpace commented on issue #35394:
URL: https://github.com/apache/arrow/issues/35394#issuecomment-1538767323

   Arrow's C++ API is not, generally, ABI compatible between releases. It's even possible that changing cmake flags could modify ABI compatibility.
   
   If I understand your use case (which I might not), what you probably want is the Arrow C data interface: https://arrow.apache.org/docs/format/CDataInterface.html
   
   In your C++ project you can export to the C data interface (e.g. `arrow::ExportArray`)  Then, in pyarrow, you can import from this (`pyarrow.array._import_from_c`).  Or you could go in the other direction.  I'm glossing over the details but that is the rough shape of it.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org