Skip to content

Commit 28751f7

Browse files
committed
fix
1 parent c6f9687 commit 28751f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/query/expression/src/function/function_factory.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ where T: ScalarFunction
267267
None => Bitmap::new_trued(len),
268268
};
269269
if bitmap.null_count() > 0 {
270-
ctx.validity = Some(bitmap.clone())
270+
ctx.validity = ctx.validity.as_ref().map(|validity| validity & &bitmap);
271271
}
272272
let results = self.0.eval(&nonull_args, ctx);
273273
if let Some((error_bitmap, _)) = ctx.errors.as_mut() {

0 commit comments

Comments
 (0)