Skip to content

Commit 5c22f91

Browse files
committed
chore(query): make char function only accept u8 type
1 parent 9c63856 commit 5c22f91

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/query/expression/src/function.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1055,8 +1055,9 @@ where F: Fn(&[ValueRef<AnyType>], &GenericMap) -> Result<Value<AnyType>, String>
10551055
move |args, generics| {
10561056
type T = NullableType<AnyType>;
10571057
type Result = AnyType;
1058+
10581059
let mut bitmap: Option<MutableBitmap> = None;
1059-
let mut nonull_args: Vec<ValueRef<AnyType>> = Vec::with_capacity(args.len());
1060+
let mut nonull_args: Vec<ValueRef<Result>> = Vec::with_capacity(args.len());
10601061

10611062
let mut len = 1;
10621063
for arg in args {

0 commit comments

Comments
 (0)