Crates.io | gandiva_rust_udf |
lib.rs | gandiva_rust_udf |
version | 0.1.0 |
source | src |
created_at | 2024-02-01 08:01:42.276387 |
updated_at | 2024-02-01 08:01:42.276387 |
description | A library for gandiva rust udfs |
homepage | https://github.com/yanhuangdata/gandiva_rust_udf |
repository | https://github.com/yanhuangdata/gandiva_rust_udf |
max_upload_size | |
id | 1122774 |
size | 14,240 |
This project is a collection of UDFs written in Rust for Apache Arrow Gandiva.
my_func
libc
as dependencymy_func/src/lib.rs
use gandiva_rust_udf_macro::udf
#[udf]
macro to annotate this functionmy_func
as dependency in udf_core/Cargo.toml
my_func
in udf_core/src/lib.rs
udf_core
as shared library
cargo build --release --lib --workspace
libudf_core
shared library to where your Gandiva application can load it[lib]
crate-type = ["cdylib"]
gandiva_rust_udf_shared
crate