You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2022/02/06 21:05:34 UTC
[GitHub] [arrow-rs] Tudyx opened a new issue #1278: how to create arrow::array from streamReader
Tudyx opened a new issue #1278:
URL: https://github.com/apache/arrow-rs/issues/1278
I want to read `arrow::array` from `StreamReader` to be able to call the `slice` method on it. So far i have the reading part but i don't find the good functions to make it into an array.
```rust
let file = File::open("foo.arrow").unwrap();
let mut stream_reader = arrow::ipc::reader::StreamReader::try_new(file).unwrap();
```
I tried
```rust
let array = stream_reader.collect();
```
and i also tried accessing the `BufReader<R>` of `StreamReader` directly without success.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [arrow-rs] Tudyx closed issue #1278: how to create arrow::array from streamReader
Posted by GitBox <gi...@apache.org>.
Tudyx closed issue #1278:
URL: https://github.com/apache/arrow-rs/issues/1278
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org