This is an automated email from the ASF dual-hosted git repository. yiguolei pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/master by this push: new d03b5c29a8 [bugfix] fix bug of ComparisonPredicate for nullable column (#10798) d03b5c29a8 is described below commit d03b5c29a82302350d556b5ad21219618276faa5 Author: TengJianPing <18241664+jackte...@users.noreply.github.com> AuthorDate: Wed Jul 13 12:26:05 2022 +0800 [bugfix] fix bug of ComparisonPredicate for nullable column (#10798) --- be/src/olap/comparison_predicate.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/be/src/olap/comparison_predicate.h b/be/src/olap/comparison_predicate.h index 8d1c0ff604..ec8bcce1f5 100644 --- a/be/src/olap/comparison_predicate.h +++ b/be/src/olap/comparison_predicate.h @@ -406,7 +406,7 @@ private: for (uint16_t i = 0; i < size; ++i) { uint16_t idx = sel[i]; if constexpr (is_nullable) { - if (_opposite ^ (!null_map[i] && _operator(data_array[idx], value))) { + if (_opposite ^ (!null_map[idx] && _operator(data_array[idx], value))) { sel[new_size++] = idx; } } else { --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org