forked from apache/arrow-rs
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement Arrow PyCapsule Interface (apache#5070)
* arrow ffi array copy * remove copy_ffi_array * docstring * wip: pycapsule support * return * Update arrow/src/pyarrow.rs Co-authored-by: Raphael Taylor-Davies <1781103+tustvold@users.noreply.github.com> * remove sync impl * Update arrow/src/pyarrow.rs Co-authored-by: Will Jones <willjones127@gmail.com> * Remove copy() * Need &mut FFI_ArrowArray for std::mem::replace * Use std::ptr::replace * update comments * Minimize unsafe block * revert pub release functions * Add RecordBatch and Stream conversion * fix returns * Fix return type * Fix name * fix ci * Add tests * Add table test * skip if pre pyarrow 14 * bump python version in CI to use pyarrow 14 * Add record batch test * Update arrow/src/pyarrow.rs Co-authored-by: Raphael Taylor-Davies <1781103+tustvold@users.noreply.github.com> * run on pyarrow 13 and 14 * Update .github/workflows/integration.yml Co-authored-by: Will Jones <willjones127@gmail.com> --------- Co-authored-by: Raphael Taylor-Davies <1781103+tustvold@users.noreply.github.com> Co-authored-by: Will Jones <willjones127@gmail.com>
- Loading branch information
1 parent
4b9d789
commit aff86e7
Showing
5 changed files
with
274 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.