@@ -21,7 +21,6 @@ use datafusion_expr::ScalarUDF;
21
21
use std:: sync:: Arc ;
22
22
23
23
pub mod abs;
24
- pub mod coalesce;
25
24
pub mod cot;
26
25
pub mod factorial;
27
26
pub mod gcd;
@@ -47,7 +46,6 @@ make_math_unary_udf!(AtanhFunc, ATANH, atanh, atanh, Some(vec![Some(true)]));
47
46
make_math_binary_udf ! ( Atan2 , ATAN2 , atan2, atan2, Some ( vec![ Some ( true ) ] ) ) ;
48
47
make_math_unary_udf ! ( CbrtFunc , CBRT , cbrt, cbrt, None ) ;
49
48
make_math_unary_udf ! ( CeilFunc , CEIL , ceil, ceil, Some ( vec![ Some ( true ) ] ) ) ;
50
- make_udf_function ! ( coalesce:: CoalesceFunc , COALESCE , coalesce) ;
51
49
make_math_unary_udf ! ( CosFunc , COS , cos, cos, None ) ;
52
50
make_math_unary_udf ! ( CoshFunc , COSH , cosh, cosh, None ) ;
53
51
make_udf_function ! ( cot:: CotFunc , COT , cot) ;
@@ -130,11 +128,6 @@ pub mod expr_fn {
130
128
super :: ceil ( ) . call ( vec ! [ num] )
131
129
}
132
130
133
- #[ doc = "returns `coalesce(args...)`, which evaluates to the value of the first [Expr] which is not NULL" ]
134
- pub fn coalesce ( args : Vec < Expr > ) -> Expr {
135
- super :: coalesce ( ) . call ( args)
136
- }
137
-
138
131
#[ doc = "cosine" ]
139
132
pub fn cos ( num : Expr ) -> Expr {
140
133
super :: cos ( ) . call ( vec ! [ num] )
@@ -289,7 +282,6 @@ pub fn functions() -> Vec<Arc<ScalarUDF>> {
289
282
atanh( ) ,
290
283
cbrt( ) ,
291
284
ceil( ) ,
292
- coalesce( ) ,
293
285
cos( ) ,
294
286
cosh( ) ,
295
287
cot( ) ,
0 commit comments