@@ -2613,7 +2613,7 @@ impl BuiltinExprBuilder {
2613
2613
match name {
2614
2614
"not" | "like" | "ilike" | "is_null" | "is_not_null" | "is_true"
2615
2615
| "is_false" | "is_not_true" | "is_not_false" | "is_unknown"
2616
- | "is_not_unknown" | "negative" => Some ( Self {
2616
+ | "is_not_unknown" | "negative" | "negate" => Some ( Self {
2617
2617
expr_name : name. to_string ( ) ,
2618
2618
} ) ,
2619
2619
_ => None ,
@@ -2634,8 +2634,9 @@ impl BuiltinExprBuilder {
2634
2634
"ilike" => {
2635
2635
Self :: build_like_expr ( ctx, true , f, input_schema, extensions) . await
2636
2636
}
2637
- "not" | "negative" | "is_null" | "is_not_null" | "is_true" | "is_false"
2638
- | "is_not_true" | "is_not_false" | "is_unknown" | "is_not_unknown" => {
2637
+ "not" | "negative" | "negate" | "is_null" | "is_not_null" | "is_true"
2638
+ | "is_false" | "is_not_true" | "is_not_false" | "is_unknown"
2639
+ | "is_not_unknown" => {
2639
2640
Self :: build_unary_expr ( ctx, & self . expr_name , f, input_schema, extensions)
2640
2641
. await
2641
2642
}
@@ -2664,7 +2665,7 @@ impl BuiltinExprBuilder {
2664
2665
2665
2666
let expr = match fn_name {
2666
2667
"not" => Expr :: Not ( arg) ,
2667
- "negative" => Expr :: Negative ( arg) ,
2668
+ "negative" | "negate" => Expr :: Negative ( arg) ,
2668
2669
"is_null" => Expr :: IsNull ( arg) ,
2669
2670
"is_not_null" => Expr :: IsNotNull ( arg) ,
2670
2671
"is_true" => Expr :: IsTrue ( arg) ,
0 commit comments