Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
Description
As discussed in recent mailing list thread
The only viable process at the moment for getting an accurate report of stream size is to write a simulated stream using MockOutputStream. This is suboptimal for a couple of reasons:
- Flatbuffers metadata must be created twice
- Record batch disassembly into IpcPayload must be performed twice
It seems like an interface with a very constrained public API could be provided to deconstruct a sequence of RecordBatches and report the size of the produced IPC stream (based on metadata sizes, and padding), and then this deconstructed set of IPC payloads can be written out to a stream (e.g. using FixedSizeBufferWriter)
Attachments
Issue Links
- is duplicated by
-
ARROW-8487 [FlightRPC][C++] Make it possible to target a specific payload size
- Resolved
- is required by
-
ARROW-8487 [FlightRPC][C++] Make it possible to target a specific payload size
- Resolved
- links to