Crates.io | arrow-flight |
lib.rs | arrow-flight |
version | 53.3.0 |
source | src |
created_at | 2020-02-07 14:11:36.733355 |
updated_at | 2024-11-20 22:35:49.402326 |
description | Apache Arrow Flight |
homepage | https://github.com/apache/arrow-rs |
repository | https://github.com/apache/arrow-rs |
max_upload_size | |
id | 205803 |
size | 792,531 |
See the API documentation for examples and the full API.
The API documentation for most recent, unreleased code is available here.
Add this to your Cargo.toml:
[dependencies]
arrow-flight = "53.3.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.
flight-sql-experimental
: Enables experimental support for
Apache Arrow FlightSQL, a protocol for interacting with SQL databases.
tls
: Enables tls
on tonic
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 |
+----------+