94 releases (57 major breaking)
Uses new Rust 2024
| 57.1.0 | Nov 24, 2025 |
|---|---|
| 56.2.0 | Sep 23, 2025 |
| 55.2.0 | Jun 26, 2025 |
| 54.3.1 | Mar 30, 2025 |
| 0.16.0 | Feb 7, 2020 |
#1087 in Database interfaces
715,074 downloads per month
Used in 52 crates
(33 directly)
6MB
116K
SLoC
Apache Arrow Flight
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 = "54.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: Support for Apache Arrow FlightSQL, a protocol for interacting with SQL databases.
You can enable TLS using the following features (not enabled by default)
tls-aws-lc: enables tonic featuretls-aws-lctls-native-roots: enables tonic featuretls-native-rootstls-ring: enables tonic featuretls-ringtls-webpki: enables tonic featuretls-webpki-roots
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,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
~17–37MB
~473K SLoC