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

#41086 #41150

Signed-off-by: luzhang <luzhang@zilliz.com>
Co-authored-by: luzhang <luzhang@zilliz.com>
This commit is contained in:
zhagnlu 2025-04-09 13:08:27 +08:00 committed by GitHub
parent ecc2d80915
commit ee1faf80dd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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);