From 3a304e32ba70b328b70dbc0379d2704d4c7c8cd9 Mon Sep 17 00:00:00 2001 From: jayzhan211 Date: Fri, 10 Nov 2023 07:59:47 +0800 Subject: [PATCH] remove old code Signed-off-by: jayzhan211 --- datafusion/physical-expr/src/array_expressions.rs | 9 --------- 1 file changed, 9 deletions(-) diff --git a/datafusion/physical-expr/src/array_expressions.rs b/datafusion/physical-expr/src/array_expressions.rs index 4a283f9665dd..66797c6d6e7f 100644 --- a/datafusion/physical-expr/src/array_expressions.rs +++ b/datafusion/physical-expr/src/array_expressions.rs @@ -1212,15 +1212,6 @@ pub fn array_remove_n(args: &[ArrayRef]) -> Result { general_remove(as_list_array(&args[0])?, &args[1], arr_n) } -// array removement functions -array_removement_function!(array_remove, remove_one, "Array_remove SQL function"); -array_removement_function!(array_remove_n, remove_n, "Array_remove_n SQL function"); -array_removement_function!( - array_remove_all, - remove_all, - "Array_remove_all SQL function" -); - /// For each element of `list_array[i]`, replaces up to `arr_n[i]` occurences /// of `from_array[i]`, `to_array[i]`. ///