tree: 086471deaa0a15464099c4c26b348afb2651aed7 [path history] [tgz]
  1. benches/
  2. examples/
  3. src/
  4. test/
  5. Cargo.toml
  6. README.md
rust/arrow/README.md

Native Rust implementation of Apache Arrow

Build Status Coverage Status

Status

This is a native Rust implementation of Apache Arrow. Currently the project is developed and tested against nightly Rust. The current status is:

  • [x] Primitive Arrays
  • [x] List Arrays
  • [x] Struct Arrays
  • [x] CSV Reader
  • [ ] CSV Writer
  • [ ] Parquet Reader
  • [ ] Parquet Writer
  • [ ] Arrow IPC
  • [ ] Interop tests with other implementations

Dependencies

Parquet support for Apache Arrow requires LLVM. Our windows CI image includes LLVM but to build the libraries locally windows users will have to install LLVM. Follow this link for info.

Examples

The examples folder shows how to construct some different types of Arrow arrays, including dynamic arrays created at runtime.

Examples can be run using the cargo run --example command. For example:

cargo run --example builders
cargo run --example dynamic_types
cargo run --example read_csv

Publishing to crates.io

An Arrow committer can publish this crate after an official project release has been made to crates.io using the following instructions.

Follow these instructions to create an account and login to crates.io before asking to be added as an owner of the arrow crate.

Checkout the tag for the version to be released. For example:

git checkout apache-arrow-0.11.0

If the Cargo.toml in this tag already contains version = "0.11.0" (as it should) then the crate can be published with the following command:

cargo publish

If the Cargo.toml does not have the correct version then it will be necessary to modify it manually. Since there is now a modified file locally that is not committed to github it will be necessary to use the following command.

cargo publish --allow-dirty