Skip to content

[Python] Support C stream interface of single arrays #31194

@asfimport

Description

@asfimport

It seems that the C stream interface in pyarrow currently requires the array to be a StructArray.

I do not see this constraint in the spec (https://arrow.apache.org/docs/format/CStreamInterface.html).

The error I get when I pass an Int32Array to it (declared on the schema):

Invalid: Cannot import schema: ArrowSchema describes non-struct type int32

It would be nice to support everything, like the C data interface.

Reporter: Jorge Leitão / @jorgecarleitao

Note: This issue was originally created as ARROW-15747. Please see the migration documentation for further details.

Metadata

Metadata

Assignees

No one assigned

    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