Skip to content

Commit

Permalink
[nit] update readme.md and reformat (#821)
Browse files Browse the repository at this point in the history
* update readme.md and reformat

* update arrow crate
  • Loading branch information
jimexist authored Oct 8, 2021
1 parent 180776a commit cc9e285
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 17 deletions.
33 changes: 21 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,21 +21,22 @@

[![Coverage Status](https://codecov.io/gh/apache/arrow-rs/rust/branch/master/graph/badge.svg)](https://codecov.io/gh/apache/arrow-rs?branch=master)

Welcome to the implementation of Arrow, the popular in-memory columnar format, in [Rust](https://www.rust-lang.org/).
Welcome to the implementation of Arrow, the popular in-memory columnar format, in [Rust][rust].

This repo contains the following main components:

| Crate | Description | Documentation |
| ------------ | ------------------------------------------------------------------ | ---------------------------------- |
| arrow | Core functionality (memory layout, arrays, low level computations) | [(README)](arrow/README.md) |
| parquet | Support for Parquet columnar file format | [(README)](parquet/README.md) |
| arrow-flight | Support for Arrow-Flight IPC protocol | [(README)](arrow-flight/README.md) |
| Crate | Description | Documentation |
| ------------ | ------------------------------------------------------------------ | -------------------------- |
| arrow | Core functionality (memory layout, arrays, low level computations) | [(README)][arrow-readme] |
| parquet | Support for Parquet columnar file format | [(README)][parquet-readme] |
| arrow-flight | Support for Arrow-Flight IPC protocol | [(README)][flight-readme] |

There are two related crates in a different repository
| Crate | Description | Documentation |
| ------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------------------------- |
| DataFusion | In-memory query engine with SQL support | [(README)](https://github.com/apache/arrow-datafusion/blob/master/README.md) |
| Ballista | Distributed query execution | [(README)](https://github.com/apache/arrow-datafusion/blob/master/ballista/README.md) |

| Crate | Description | Documentation |
| ---------- | --------------------------------------- | ----------------------------- |
| DataFusion | In-memory query engine with SQL support | [(README)][datafusion-readme] |
| Ballista | Distributed query execution | [(README)][ballista-readme] |

Collectively, these crates support a vast array of functionality for analytic computations in Rust.

Expand All @@ -52,7 +53,15 @@ The `[email protected]` mailing list serves as the core communication channel
The Rust Arrow community also uses the official [ASF Slack](https://s.apache.org/slack-invite) for informal discussions and coordination. This is
a great place to meet other contributors and get guidance on where to contribute. Join us in the `#arrow-rust` channel.

Unlike other parts of the Arrow ecosystem, the Rust implementation uses [github issues](https://github.com/apache/arrow-rs/issues) as the system of record for new features
Unlike other parts of the Arrow ecosystem, the Rust implementation uses [GitHub issues][issues] as the system of record for new features
and bug fixes and this plays a critical role in the release process.

For design discussions we generally collaborate on Google documents and file a github issue linking to the document.
For design discussions we generally collaborate on Google documents and file a GitHub issue linking to the document.

[rust]: https://www.rust-lang.org/
[arrow-readme]: arrow/README.md
[parquet-readme]: parquet/README.md
[flight-readme]: arrow-flight/README.md
[datafusion-readme]: https://github.com/apache/arrow-datafusion/blob/master/README.md
[ballista-readme]: https://github.com/apache/arrow-datafusion/blob/master/ballista/README.md
[issues]: https://github.com/apache/arrow-rs/issues
12 changes: 7 additions & 5 deletions arrow/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@

[![Crates.io](https://img.shields.io/crates/v/arrow.svg)](https://crates.io/crates/arrow)

This crate contains the official Native Rust implementation of [Apache Arrow](https://arrow.apache.org/) in memory format. Please see the API documents for additional details.
This crate contains the official Native Rust implementation of [Apache Arrow][arrow] in memory format. Please see the API documents for additional details.

## Rust Version Compatbility
## Rust Version Compatibility

This crate is tested with the latest stable version of Rust. We do not currrently test against other, older versions of the Rust compiler.
This crate is tested with the latest stable version of Rust. We do not currently test against other, older versions of the Rust compiler.

## Versioning / Releases

Unlike many other crates in the Rust ecosystem which spend extended time in "pre 1.0.0" state, releasing versions 0.x, the arrow-rs crate follows the versioning scheme of the overall [Apache Arrow](https://arrow.apache.org/) project in an effort to signal which language implementations have been integration tested with each other.
Unlike many other crates in the Rust ecosystem which spend extended time in "pre 1.0.0" state, releasing versions 0.x, the arrow-rs crate follows the versioning scheme of the overall [Apache Arrow][arrow] project in an effort to signal which language implementations have been integration tested with each other.

## Features

Expand All @@ -54,7 +54,7 @@ _Background_: There are various parts of the `arrow` crate which use `unsafe` an
As `arrow` exists today, it is fairly easy to misuse the APIs, leading to undefined behavior, and it is especially easy to misuse code in modules named above. For an example, as described in [the arrow2 crate](https://github.com/jorgecarleitao/arrow2#why), the following code compiles, does not panic, but results in undefined behavior:

```rust
let buffer = Buffer::from_slic_ref(&[0i32, 2i32])
let buffer = Buffer::from_slice_ref(&[0i32, 2i32])
let data = ArrayData::new(DataType::Int64, 10, 0, None, 0, vec![buffer], vec![]);
let array = Float64Array::from(Arc::new(data));

Expand Down Expand Up @@ -84,3 +84,5 @@ cargo run --example builders
cargo run --example dynamic_types
cargo run --example read_csv
```

[arrow]: https://arrow.apache.org/

0 comments on commit cc9e285

Please sign in to comment.