arrow-rs VS arrow2

Compare arrow-rs vs arrow2 and see what are their differences.

arrow-rs

Official Rust implementation of Apache Arrow (by apache)

arrow2

Transmute-free Rust library to work with the Arrow format (by jorgecarleitao)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
arrow-rs arrow2
16 25
2,189 1,071
3.0% -
9.8 0.0
6 days ago 3 months ago
Rust Rust
Apache License 2.0 Apache License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

arrow-rs

Posts with mentions or reviews of arrow-rs. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-01-13.
  • Rkyv: Rkyv zero-copy deserialization framework for rust
    2 projects | news.ycombinator.com | 13 Jan 2024
    https://github.com/djkoloski/rust_serialization_benchmark

    Apache/arrow-rs: https://github.com/apache/arrow-rs

    From https://arrow.apache.org/faq/ :

    > How does Arrow relate to Flatbuffers?

    > Flatbuffers is a low-level building block for binary data serialization. It is not adapted to the representation of large, structured, homogenous data, and does not sit at the right abstraction layer for data analysis tasks.

    > Arrow is a data layer aimed directly at the needs of data analysis, providing a comprehensive collection of data types required to analytics, built-in support for “null” values (representing missing data), and an expanding toolbox of I/O and computing facilities.

    > The Arrow file format does use Flatbuffers under the hood to serialize schemas and other metadata needed to implement the Arrow binary IPC protocol, but the Arrow data format uses its own representation for optimal access and computation

  • Polars: Company Formation Announcement
    3 projects | news.ycombinator.com | 3 Aug 2023
    One of the interesting components of Polars that I've been watching is the use of the Apache Arrow memory format, which is a standard layout for data in memory that enables processing (querying, iterating, calculating, etc) in a language agnostic way, in particular without having to copy/convert it into the local object format first. This enables cross-language data access by mmaping or transferring a single buffer, with zero [de]serialization overhead.

    For some history, there's has been a bit of contention between the official arrow-rs implementation and the arrow2 implementation created by the polars team which includes some extra features that they find important. I think the current status is that everyone agrees that having two crates that implement the same standard is not ideal, and they are working to port any necessary features to the arrow-rs crate and plan on eventually switching to it and deprecating arrow2. But that's not easy.

    https://github.com/apache/arrow-rs/issues/1176

    https://github.com/jorgecarleitao/arrow2/pull/1476

  • InfluxDB 3.0 System Architecture
    1 project | news.ycombinator.com | 27 Jun 2023
    It's built around the arrow-rs library, which we've contributed to significantly: https://github.com/apache/arrow-rs
  • best cache type for 5gb size tables
    1 project | /r/rust | 17 May 2023
    For loading Parquet in memory, probably worth a look at arrow-rs.
  • The state of Apache Avro in Rust
    3 projects | /r/rust | 17 Apr 2023
    From what I've seen, most of the Rust community seems to be adopting Apache Arrow as the go-to for data processing. It has strong community support and good interoperability with many cross-language tools. It is natively a columnar format. If row-oriented is a must for your use case, consider looking into alternatives like gRPC that might better suit your needs.
  • Arrow-Rs - Official Rust implementation of Apache Arrow
    1 project | /r/github_trends | 4 May 2022
  • Apache Arrow Feature Parity Timeline?
    2 projects | /r/rust | 21 Feb 2022
    That matrix doesn't seem up to date. For example looking at the rust crate it does seem to support things like map, float16, and IPC. The changelog shows an impressive development pace.
  • Apache Arrow Flight SQL: Accelerating Database Access
    5 projects | news.ycombinator.com | 16 Feb 2022
    Oh, and for anyone interested in pitching in on the Rust implementation, there's an issue logged here along with some discussion: https://github.com/apache/arrow-rs/issues/1323
  • February 2022 Rust Apache Arrow and Parquet Highlights
    1 project | /r/rust | 15 Feb 2022
    There is more discussion about the decision here: https://github.com/apache/arrow-rs/issues/1120
  • Arrow2 0.9 has been released
    6 projects | /r/rust | 14 Jan 2022
    I'm still not sure how this differs from https://github.com/apache/arrow-rs. What does transmute even mean?

arrow2

Posts with mentions or reviews of arrow2. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-08-03.
  • Polars: Company Formation Announcement
    3 projects | news.ycombinator.com | 3 Aug 2023
    One of the interesting components of Polars that I've been watching is the use of the Apache Arrow memory format, which is a standard layout for data in memory that enables processing (querying, iterating, calculating, etc) in a language agnostic way, in particular without having to copy/convert it into the local object format first. This enables cross-language data access by mmaping or transferring a single buffer, with zero [de]serialization overhead.

    For some history, there's has been a bit of contention between the official arrow-rs implementation and the arrow2 implementation created by the polars team which includes some extra features that they find important. I think the current status is that everyone agrees that having two crates that implement the same standard is not ideal, and they are working to port any necessary features to the arrow-rs crate and plan on eventually switching to it and deprecating arrow2. But that's not easy.

    https://github.com/apache/arrow-rs/issues/1176

    https://github.com/jorgecarleitao/arrow2/pull/1476

  • Data Engineering with Rust
    5 projects | /r/rust | 9 May 2023
    https://github.com/jorgecarleitao/arrow2 https://github.com/apache/arrow-datafusion https://github.com/apache/arrow-ballista https://github.com/pola-rs/polars https://github.com/duckdb/duckdb
  • Polars[Query Engine/ DataFrame] 0.28.0 released :)
    3 projects | /r/rust | 29 Mar 2023
    Currently datafusion and polars aren't directly operable iirc because they use different underlying arrows implementations, but there seems to be work being done on that here https://github.com/jorgecarleitao/arrow2/issues/1429
  • Arrow2 0.15 has been released. Happy festivities everyone =)
    1 project | /r/rust | 18 Dec 2022
  • Rust is showing a lot of promise in the DataFrame / tabular data space
    9 projects | /r/rust | 4 Oct 2022
    [arrow2](https://github.com/jorgecarleitao/arrow2) and [parquet2](https://github.com/jorgecarleitao/parquet2) are great foundational libraries for and DataFrame libs in Rust.
  • Matano - Open source security lake built with Arrow2 + Rust
    2 projects | /r/rust | 3 Oct 2022
    [1] https://github.com/jorgecarleitao/arrow2
  • Polars 0.23.0 released
    3 projects | /r/rust | 4 Aug 2022
    In lockstep with arrow2's 0.13 release, we have published polars 0.23.0.
  • Arrow2 v0.13.0, now with support to read Apache ORC and COW semantics!
    1 project | /r/rust | 31 Jul 2022
  • ::lending-iterator — Lending/streaming Iterators on Stable Rust (and a pinch of HKT)
    3 projects | /r/rust | 20 Jul 2022
    This is so freaking life-saving! - we have been using StreamingIterator and FallibleStreamingIterator in libraries (arrow2 and parquet2) and the existing landscape is quite confusing for new users!
  • Mssql :(
    1 project | /r/rust | 9 Jun 2022
    arrow2 has support for mssql via ODBC (which microsoft has first class support to). Here are the integration tests we have (both read and write) against mssql specifically.

What are some alternatives?

When comparing arrow-rs and arrow2 you can also consider the following projects:

polars - Dataframes powered by a multithreaded, vectorized query engine, written in Rust

Apache Arrow - Apache Arrow is a multi-language toolbox for accelerated data interchange and in-memory processing

datafusion - Apache DataFusion SQL Query Engine

db-benchmark - reproducible benchmark of database-like ops

byo-sql - An in-memory SQL database in Rust.

pyodide - Pyodide is a Python distribution for the browser and Node.js based on WebAssembly

explorer - Series (one-dimensional) and dataframes (two-dimensional) for fast and elegant data exploration in Elixir

parquet2 - Fastest and safest Rust implementation of parquet. `unsafe` free. Integration-tested against pyarrow

datafuse - An elastic and reliable Cloud Warehouse, offers Blazing Fast Query and combines Elasticity, Simplicity, Low cost of the Cloud, built to make the Data Cloud easy [Moved to: https://github.com/datafuselabs/databend]