| Crates.io | arrow-udf-flight |
| lib.rs | arrow-udf-flight |
| version | 0.4.2 |
| created_at | 2024-05-07 10:44:11.960436+00 |
| updated_at | 2025-03-19 06:06:41.52686+00 |
| description | Client for remote Arrow UDFs. |
| homepage | |
| repository | https://github.com/risingwavelabs/arrow-udf |
| max_upload_size | |
| id | 1232063 |
| size | 195,233 |
Run user-defined functions in a separate process and call them via Arrow Flight RPC.
Currently the following languages are supported:
Please click the link to see the specific usage.
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();
The communication protocol between client and server is based on Arrow Flight RPC.
Details to be added.