Re: [C++][JSON] json (string) to Table.

2024-08-12 Thread Surya Kiran Gullapalli
Thanks, It worked. Surya On Mon, Aug 12, 2024 at 10:52 PM Felipe Oliveira Carvalho < felipe...@gmail.com> wrote: > Don't create a memory pool locally (and destroy it when the function > returns), use the global singleton pool from `arrow::default_memory_pool()` > instead. > > __ > Felipe > > On

Re: [C++][JSON] json (string) to Table.

2024-08-12 Thread Felipe Oliveira Carvalho
Don't create a memory pool locally (and destroy it when the function returns), use the global singleton pool from `arrow::default_memory_pool()` instead. __ Felipe On Mon, Aug 12, 2024 at 12:44 PM Surya Kiran Gullapalli < suryakiran.gullapa...@gmail.com> wrote: > Hello all, > I'm trying to conve

[C++][JSON] json (string) to Table.

2024-08-12 Thread Surya Kiran Gullapalli
Hello all, I'm trying to convert a single line string (which is in json format) into a table. Below is the sample code to create table from the json string (input to this function, passed as copy) > auto buffer = arrow::Buffer::FromString(pString); > auto reader = std::make_sha