apache / apache/arrow

[C++][Python] Wrap / Unwrap Functions for Other PyArrow Objects

Open
#36,429 1 comment 0 reactions 1 assignee Claimed by @srilman View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.