arrow-udf-flight

Crates.ioarrow-udf-flight
lib.rsarrow-udf-flight
version0.4.2
created_at2024-05-07 10:44:11.960436+00
updated_at2025-03-19 06:06:41.52686+00
descriptionClient for remote Arrow UDFs.
homepage
repositoryhttps://github.com/risingwavelabs/arrow-udf
max_upload_size
id1232063
size195,233
crates-io (github:arrow-udf:crates-io)

documentation

README

Remote UDF based on Arrow Flight

Crate Docs

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.4"
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.

Commit count: 229

cargo fmt