[C++][Python] Wrap / Unwrap Functions for Other PyArrow Objects
Open
Component: C++
Component: Python
Type: enhancement
- Dominant language
- C++
- Stars
- 17.1k
- Forks
- 4.3k
- Avg merge
- 3d 13h
- Merged PRs (30d)
- 88
Description
### Describe the enhancement requested
The PyArrow C++ module provides wrapper and unwrapper functions for a variety of Arrow entities, including schemas, arrays, record batches, and tables. Examples are:
- `arrow::python::wrap_table` or `pyarrow_wrap_table`: `std::shared_ptr` to `PyObject*`
- `arrow::python::unwrap_table` or `pyarrow_unwrap_table`: `PyObject*` to `std::shared_ptr`
However, it is missing conversion functions for newer entities, like:
- Dataset
- Filesystem
- Compute Expression
- Scanner
- RecordBatchReader
It would be helpful to expose such functions for 3rd-party APIs and tools.
### Component(s)
C++, Python
Contributor guide
Assessment
This issue has not been assessed yet.