Hello,
I use this code to serialize an arrow::Table to an arrow::Buffer.
std::shared_ptr to_wire_format(const arrow::Table &table) {
auto buffer = arrow::io::BufferOutputStream::Create().ValueOrDie();
auto writer = arrow::ipc::MakeStreamWriter(buffer,
table.schema()).ValueOrDie();
validate_
pc::RecordBatchStreamReader::Open(&input).ValueOrDie();
> return reader-.ToTable().ValueOrDie();
> }
>
>
> Thanks,
> --
> kou
>
> In
> "How to reconstruct an arrow::Table from an arrow::Buffer object in
> C++?" on Sun, 18 Aug 2024 20:06:46 -0400,
>