Hello,

I'm using an arrow::io::BufferReader and
arrow::ipc::RecordBatchStreamReader to read an arrow::RecordBatch from a
file. There is only one batc in the file so I do a single
RecordBatchStreamReader::ReadNext call. I store the populated RecordBatch
in memory for reuse (cache). The memory buffer wrapped by the BufferReader
is reallocated. Is the RecordBatch still valid? Does the data get copied
out of the memory buffer used by BufferReader?

Thank you!
Rares

Reply via email to