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:
[]
= "0.4"
use Client;
// Connect to the UDF server
let client = new.await.unwrap;
// Call functions
let input: RecordBatch = ...;
let output: RecordBatch = client.call.await.unwrap;
Communication Protocol
The communication protocol between client and server is based on Arrow Flight RPC.
Details to be added.