Apache DataFusion SQL Query Engine
Fixed missing trim() in rust api (#9749)
Bruce Ritchie01ff53771a5e
diff --git a/datafusion/functions/src/string/mod.rs b/datafusion/functions/src/string/mod.rsindex a70a695e93..a6d8449326 100644--- a/datafusion/functions/src/string/mod.rs+++ b/datafusion/functions/src/string/mod.rs@@ -86,6 +86,11 @@ pub mod expr_fn {super::to_hex().call(vec![arg1])}+ #[doc = "Removes all characters, spaces by default, from both sides of a string"]+ pub fn trim(args: Vec<Expr>) -> Expr {+ super::btrim().call(args)+ }+#[doc = "Converts a string to uppercase."]pub fn upper(arg1: Expr) -> Expr {super::upper().call(vec![arg1])