You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to create an arrow::table from a StreamReader object to be able to call the slice method on it. So far i have read my arrow file into my StreamReader but i don't find the good functions to make it into an arrow::table. I don't have any assumption on the type of the data that the stream contains.
let file = File::open("foo.arrow").unwrap();letmut stream_reader = arrow::ipc::reader::StreamReader::try_new(file).unwrap();
I tried
let table = stream_reader.collect();
and i also tried accessing the BufReader<R> of StreamReader struct directly but without success.
The behavior i seek is similar of the C++ function Status arrow::RecordBatch::ReadAll(std::shared_ptr<Table>* table) , the function that put all content of a stream into one table.
Please, do you have any ideas how i could reach my goal?
The text was updated successfully, but these errors were encountered:
I want to create an
arrow::table
from aStreamReader
object to be able to call theslice
method on it. So far i have read my arrow file into myStreamReader
but i don't find the good functions to make it into anarrow::table
. I don't have any assumption on the type of the data that the stream contains.I tried
and i also tried accessing the
BufReader<R>
ofStreamReader struct
directly but without success.The behavior i seek is similar of the C++ function
Status arrow::RecordBatch::ReadAll(std::shared_ptr<Table>* table)
, the function that put all content of a stream into one table.Please, do you have any ideas how i could reach my goal?
The text was updated successfully, but these errors were encountered: