Re: C++: Cache RecordBatch

2020-11-17 Thread Wes McKinney
On Tue, Nov 17, 2020 at 5:41 PM Rares Vernica wrote: > > Hi Antoine, > > On Tue, Nov 17, 2020 at 2:34 AM Antoine Pitrou wrote: > > > > Le 17/11/2020 à 03:34, Rares Vernica a écrit : > > > > > > I'm using an arrow::io::BufferReader and > > > arrow::ipc::RecordBatchStreamReader to read an arrow::Re

Re: C++: Cache RecordBatch

2020-11-17 Thread Rares Vernica
Hi Antoine, On Tue, Nov 17, 2020 at 2:34 AM Antoine Pitrou wrote: > > Le 17/11/2020 à 03:34, Rares Vernica a écrit : > > > > 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

Re: C++: Cache RecordBatch

2020-11-17 Thread Antoine Pitrou
Hi Rares, Le 17/11/2020 à 03:34, Rares Vernica a écrit : > > 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 popu