Skip to content

Can we use the arrow PyCapsule/C api when ingesting from pyarrow.Table? #2729

Description

@timkpaine

we have a relatively long-winded ingestion from a pyarrow.Table:

https://github.com/finos/perspective/blob/768ca4068c79a2c2243aa24fd3a073f09c6dc97d/rust/perspective-python/src/client/python.rs#L166

Even though it would start as a different format, can we save time by going through the pycapsule/c interface: https://arrow.apache.org/docs/format/CDataInterface/PyCapsuleInterface.html#consume-a-pycapsule

xref: #1157

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementFeature requests or improvements

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions