arrow-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antoine Pitrou <anto...@python.org>
Subject Re: [C++] Decoding Plasma Objects as RecordBatches
Date Mon, 19 Apr 2021 08:17:30 GMT
On Mon, 19 Apr 2021 07:27:45 +0000
"Xander Dunn" <xander@xander.ai> wrote:
> 
> I'm stuck on creating the BufferReader.  I believe it's declared in arrow/io/memory.h,
so I include that with `#include <arrow/io/memory.h>` and get these compile errors in
clang:
> 
> ```
> 
> pymydata/pymydata/PreprocessData.cc:312:18 ( http://pymydata/pymydata/PreprocessData.cc:312:18
) : error: call to implicitly-deleted copy constructor of 'arrow::io::BufferReader'
> 
> auto buf_reader = arrow::io::BufferReader(buffer);

How about

  arrow::io::BufferReader buf_reader(buffer);

?




Mime
View raw message