71 releases (major breaking)

51.0.0 Mar 18, 2024
50.0.0 Jan 12, 2024
49.0.0 Nov 13, 2023
48.0.1 Nov 13, 2023
0.16.0 Feb 7, 2020

#231 in Database interfaces

Download history 14612/week @ 2023-12-23 17126/week @ 2023-12-30 18919/week @ 2024-01-06 21795/week @ 2024-01-13 25506/week @ 2024-01-20 23342/week @ 2024-01-27 18249/week @ 2024-02-03 16978/week @ 2024-02-10 20488/week @ 2024-02-17 26558/week @ 2024-02-24 25474/week @ 2024-03-02 22419/week @ 2024-03-09 25654/week @ 2024-03-16 24565/week @ 2024-03-23 21317/week @ 2024-03-30 16952/week @ 2024-04-06

92,726 downloads per month
Used in 18 crates (10 directly)

Apache-2.0

4MB
75K SLoC

Apache Arrow Flight

Crates.io

See the API documentation for examples and the full API.

The API documentation for most recent, unreleased code is available here.

Usage

Add this to your Cargo.toml:

[dependencies]
arrow-flight = "39.0.0"

Apache Arrow Flight is a gRPC based protocol for exchanging Arrow data between processes. See the blog post Introducing Apache Arrow Flight: A Framework for Fast Data Transport for more information.

This crate provides a Rust implementation of the Flight.proto gRPC protocol and examples that demonstrate how to build a Flight server implemented with tonic.

Feature Flags

  • flight-sql-experimental: Enables experimental support for Apache Arrow FlightSQL, a protocol for interacting with SQL databases.

CLI

This crates offers a basic Apache Arrow FlightSQL command line interface.

The client can be installed from the repository:

$ cargo install --features=cli,flight-sql-experimental,tls --bin=flight_sql_client --path=. --locked

The client comes with extensive help text:

$ flight_sql_client help

A query can be executed using:

$ flight_sql_client --host example.com statement-query "SELECT 1;"
+----------+
| Int64(1) |
+----------+
| 1        |
+----------+

Dependencies

~14–30MB
~418K SLoC