arrow-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Neal Richardson <neal.p.richard...@gmail.com>
Subject Re: Read CSV from std::vector<unsigned char> using Apache Arrow
Date Sat, 22 May 2021 14:40:57 GMT
Can you wrap it in a Buffer and then use a BufferReader?

https://arrow.apache.org/docs/cpp/api/memory.html#buffers

Neal

On Sat, May 22, 2021 at 2:26 AM Koutsoukos Dimitrios <dkoutsou@inf.ethz.ch>
wrote:

> Hi,
>
> I am trying to read a csv input format using Apache arrow. The example
> [here][1] mentions that the input should be an [InputStream][2], however in
> my case I just have an std::vector of unsigned chars  Is it possible to
> parse this using apache arrow? I have checked the [I/O interface][3] to see
> if there is an "in-memory" data structure with no luck.
> Any help would be appreciated!
>
> Thanks,
> Dimitris
>
>
>   [1]: https://arrow.apache.org/docs/cpp/csv.html
>   [2]:
> https://arrow.apache.org/docs/cpp/api/io.html#_CPPv4N5arrow2io11InputStreamE
>   [3]: https://arrow.apache.org/docs/cpp/api/io.html

Mime
View raw message