Fix the issue where the in expression did not check for skip.

This commit is contained in:
qingsuijiu
2024-07-08 03:18:38 +00:00
committed by ob-robot
parent 85e1d8e4a9
commit c9e6a1dc90

View File

@ -1091,6 +1091,9 @@ int ObExprInOrNotIn::inner_eval_vector_in_without_row_fallback(const ObExpr &exp
my_skip.deep_copy(skip, bound.start(), bound.end());
bool left_all_null = true;
for (int64_t idx = bound.start(); idx < bound.end(); ++idx) {
if (my_skip.at(idx) || eval_flags.at(idx)) {
continue;
}
if (input_left_vec->is_null(idx)) {
my_skip.set(idx);
res_vec->set_null(idx);