4 releases (breaking)
0.4.0 | Oct 10, 2024 |
---|---|
0.3.0 | Sep 19, 2024 |
0.2.0 | Jul 3, 2024 |
0.1.0 | May 7, 2024 |
#355 in Network programming
1,987 downloads per month
125KB
2.5K
SLoC
Remote UDF based on Arrow Flight
Run user-defined functions in a separate process and call them via Arrow Flight RPC.
Server
Currently the following languages are supported:
Please click the link to see the specific usage.
Client
Add the following lines to your Cargo.toml
:
[dependencies]
arrow-udf-flight = "0.2"
use arrow_udf_flight::Client;
// Connect to the UDF server
let client = Client::new("localhost:8815").await.unwrap();
// Call functions
let input: RecordBatch = ...;
let output: RecordBatch = client.call("gcd", &input).await.unwrap();
Communication Protocol
The communication protocol between client and server is based on Arrow Flight RPC.
Details to be added.
Dependencies
~15–22MB
~306K SLoC