Commits


Philipp Moritz authored and Wes McKinney committed a541644721b
ARROW-100: [C++] Computing RowBatch size Implement RowBatchWriter::DataHeaderSize and arrow::ipc::GetRowBatchSize. To achieve this, the Flatbuffer metadata is written to a temporary buffer and its size is determined. This commit also adds MockMemorySource, a new MemorySource that tracks the amount of memory written. Author: Philipp Moritz <pcmoritz@gmail.com> Author: Philipp Moritz <pcmoritz@gmail.com> Closes #61 from pcmoritz/rowbatchsize and squashes the following commits: e95fc5c [Philipp Moritz] fix formating 253c9f0 [Philipp Moritz] rename MockMemorySource methods to reflect better what they are doing 3484458 [Philipp Moritz] add tests for more datatypes 6b798f8 [Philipp Moritz] fix maximum recursion depth 67af8e1 [Philipp Moritz] merge GetRowBatchSize 9b69f12 [Philipp Moritz] factor out GetRowBatchSize test, use MockMemorySource to implement GetRowBatchSize, unify DataHeaderSize and TotalBytes into GetTotalSize aa48cdf [Philipp Moritz] ARROW-100: [C++] Computing RowBatch size