[ 
https://issues.apache.org/jira/browse/ARROW-5331?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16841050#comment-16841050
 ] 

Antoine Pitrou commented on ARROW-5331:
---------------------------------------

One counter-argument against this is that people might want to send something 
else than record batches (e.g. tensors), or perhaps even a mixed stream of 
different things. I'm not sure whether we care about supporting this. 
[~wesmckinn] [~lidavidm]

> [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)

Reply via email to