Questions tagged [rust-arrow2]

4 questions
5
votes
1 answer

Pass Arrow data from Node.js to Rust without copy

What is the best way to pass data using the Apache Arrow format from Node.js to Rust? Storing the data in each language is easy enough, but its the sharing memory that is giving me challenges. I'm using Napi-rs to generate the node.js API…
lostAstronaut
  • 1,331
  • 5
  • 20
  • 34
2
votes
1 answer

I'm using Polars with ConnectorX: why do I get Dataframe type error

I'm trying to get the table description from a Postgres database. I use ConnectorX with Arrow2 destination and I'm trying to store it in a Polars Dataframe. Here's the connection definition: use connectorx::prelude::*; use polars_core; use…
1
vote
1 answer

Convert CSV to Apache Arrow in Rust

I need to convert a csv file to apache arrow. Here is the structure of my csv file (much more rows than that…
Jona Rodrigues
  • 992
  • 1
  • 11
  • 23
0
votes
0 answers

Can I produce a chunked-array stream from py-arrow and/or r-arrow and export it to rust?

I'm writing on project r-polars and contribute a bit on py-polars. I want to achieve the fastest possible export of Arrow ChunkedArrays from R or Python to rust. I use on rust side arrow2 to import arrays. It seems py-arrow and r-arrow only…
Soren Havelund Welling
  • 1,823
  • 1
  • 16
  • 23