73 releases (major breaking)

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

#585 in Database interfaces

Download history 19270/week @ 2024-04-04 19953/week @ 2024-04-11 20143/week @ 2024-04-18 19616/week @ 2024-04-25 14335/week @ 2024-05-02 18696/week @ 2024-05-09 18016/week @ 2024-05-16 17270/week @ 2024-05-23 16958/week @ 2024-05-30 15374/week @ 2024-06-06 17617/week @ 2024-06-13 20670/week @ 2024-06-20 20507/week @ 2024-06-27 21461/week @ 2024-07-04 19834/week @ 2024-07-11 17207/week @ 2024-07-18

82,953 downloads per month
Used in 19 crates (11 directly)

Apache-2.0

4MB
81K 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 = "51.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–28MB
~405K SLoC