77 releases (major breaking)

53.2.0 Oct 24, 2024
53.0.0 Sep 3, 2024
52.2.0 Jul 28, 2024
51.0.0 Mar 18, 2024
0.16.0 Feb 7, 2020

#1803 in Database interfaces

Download history 21734/week @ 2024-07-17 19410/week @ 2024-07-24 22872/week @ 2024-07-31 21422/week @ 2024-08-07 20070/week @ 2024-08-14 18749/week @ 2024-08-21 20648/week @ 2024-08-28 20125/week @ 2024-09-04 16438/week @ 2024-09-11 16821/week @ 2024-09-18 17250/week @ 2024-09-25 18054/week @ 2024-10-02 21743/week @ 2024-10-09 24570/week @ 2024-10-16 22097/week @ 2024-10-23 20413/week @ 2024-10-30

93,015 downloads per month
Used in 22 crates (14 directly)

Apache-2.0

4.5MB
86K 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 = "53.2.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.

  • tls: Enables tls on tonic

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

~10–24MB
~354K SLoC