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

#179 in Database interfaces

Download history 16306/week @ 2023-12-04 17874/week @ 2023-12-11 16070/week @ 2023-12-18 14562/week @ 2023-12-25 17928/week @ 2024-01-01 18540/week @ 2024-01-08 22578/week @ 2024-01-15 25621/week @ 2024-01-22 23690/week @ 2024-01-29 17411/week @ 2024-02-05 16882/week @ 2024-02-12 20379/week @ 2024-02-19 27761/week @ 2024-02-26 24704/week @ 2024-03-04 22709/week @ 2024-03-11 26307/week @ 2024-03-18

102,368 downloads per month
Used in 17 crates (9 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
~427K SLoC