diff --git a/e2e_test/udf/wasm/Cargo.toml b/e2e_test/udf/wasm/Cargo.toml index 4f6b109aa421a..ce957389ca314 100644 --- a/e2e_test/udf/wasm/Cargo.toml +++ b/e2e_test/udf/wasm/Cargo.toml @@ -8,7 +8,7 @@ edition = "2021" crate-type = ["cdylib"] [dependencies] -arrow-udf = "0.4" +arrow-udf = "0.5" genawaiter = "0.99" rust_decimal = "1" serde_json = "1" diff --git a/src/expr/impl/src/udf/wasm.rs b/src/expr/impl/src/udf/wasm.rs index 5a0dd0420b4d9..6b4a810eb3d58 100644 --- a/src/expr/impl/src/udf/wasm.rs +++ b/src/expr/impl/src/udf/wasm.rs @@ -92,7 +92,7 @@ fn create_rust(opts: CreateFunctionOptions<'_>) -> Result let wasm_binary = std::thread::spawn(move || { let mut opts = arrow_udf_wasm::build::BuildOpts::default(); - opts.arrow_udf_version = Some("0.3".to_string()); + opts.arrow_udf_version = Some("0.5".to_string()); opts.script = script; // use a fixed tempdir to reuse the build cache opts.tempdir = Some(std::env::temp_dir().join("risingwave-rust-udf"));