-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
Hello, I'am Arroyo (which is Distributed stream processing engine based on DataFusion) user. Arroyo upgrade datafusion version latest (i.e. 0.40) recently. But I meet below error
2024-08-06T08:28:28.674123Z DEBUG datafusion_functions: /home/zhuliquan/.cargo/registry/src/rsproxy.cn-0dccff568467c15b/datafusion-functions-40.0.0/src/lib.rs:179: Overwrite existing UDF: contains
test arrow::expression_match::test::test_execuator_process_batch ... FAILED
failures:
---- arrow::expression_match::test::test_execuator_process_batch stdout ----
thread 'arrow::expression_match::test::test_execuator_process_batch' panicked at crates/arroyo-worker/src/arrow/expression_match.rs:64:88:
called `Result::unwrap()` on an `Err` value: Execution error: UDF sha256 not foundaccording to error info, sha256 udf is missing and not registry. Meanwhile, I found other crypto udfs are not available. It's seems that missing some builtin udfs in all_default_functions
datafusion/datafusion/functions/src/lib.rs
Lines 161 to 172 in 1c98e6e
| pub fn all_default_functions() -> Vec<Arc<ScalarUDF>> { | |
| core::functions() | |
| .into_iter() | |
| .chain(datetime::functions()) | |
| .chain(encoding::functions()) | |
| .chain(math::functions()) | |
| .chain(regex::functions()) | |
| .chain(crypto::functions()) | |
| .chain(unicode::functions()) | |
| .chain(string::functions()) | |
| .collect::<Vec<_>>() | |
| } |
I click
crypto::functions, then jump to below code (
), but others jump to own package (

).
datafusion/datafusion/functions/src/lib.rs
Lines 127 to 129 in 1c98e6e
| #[cfg(feature = "crypto_expressions")] | |
| pub mod crypto; | |
| make_stub_package!(crypto, "crypto_expressions"); |
To Reproduce
No response
Expected behavior
No response
Additional context
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working