Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
Description
Pyarrow currently does not implement the reading of an Arrow schema from an IPC message.
We'd like to consume an Arrow IPC stream like the following:
schema_msg = pyarrow.ipc.read_message(result_iter.next().data)
schema = pyarrow.ipc.read_schema(schema_msg)
for batch_data in result_iter:
batch_msg = pyarrow.ipc.read_message(batch_data.data)
batch = pyarrow.ipc.read_record_batch(batch_msg, schema)
The associated (tiny) PR on GitHub implements this reading by binding the existing C++ function.
Attachments
Issue Links
- links to