[
https://issues.apache.org/jira/browse/ARROW-5331?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16841372#comment-16841372
]
Wes McKinney commented on ARROW-5331:
-------------------------------------
It might be worth putting in some thought now about how to handle generic
streams of encapsulated IPC messages in the Flight protocol. Of course, the use
case of a record batch stream (schema, then dictionaries, then record batches)
needs some special handling.
> [C++] FlightDataStream should be higher-level
> ---------------------------------------------
>
> Key: ARROW-5331
> URL: https://issues.apache.org/jira/browse/ARROW-5331
> Project: Apache Arrow
> Issue Type: Improvement
> Components: C++, FlightRPC
> Affects Versions: 0.13.0
> Reporter: Antoine Pitrou
> Priority: Major
>
> Currently, {{FlightDataStream}} is expected to provide {{FlightPayload}}
> objects. This requires the user to handle IPC serialization themselves.
> Instead, it could provide higher-level {{FlightData}} objects (perhaps a
> simple struct containing a {{FlightDescriptor}} and a {{RecordBatch}}),
> letting Flight handle IPC encoding.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)