fix:add clear bitmap for batch skip mode (#41165)

pr: #41166

Signed-off-by: luzhang <luzhang@zilliz.com>
Co-authored-by: luzhang <luzhang@zilliz.com>
pull/41184/head
zhagnlu 2025-04-09 12:02:26 +08:00 committed by GitHub
parent d75596456a
commit 77e6404617
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 0 deletions

View File

@ -104,6 +104,7 @@ PhyConjunctFilterExpr::Eval(EvalCtx& context, VectorPtr& result) {
auto all_flat_result = GetColumnVector(result);
if (CanSkipFollowingExprs(all_flat_result)) {
SkipFollowingExprs(i + 1);
ClearBitmapInput(context);
return;
}
SetNextExprBitmapInput(all_flat_result, context);
@ -115,6 +116,7 @@ PhyConjunctFilterExpr::Eval(EvalCtx& context, VectorPtr& result) {
UpdateResult(input_flat_result, context, all_flat_result);
if (active_rows == 0) {
SkipFollowingExprs(i + 1);
ClearBitmapInput(context);
return;
}
SetNextExprBitmapInput(all_flat_result, context);