This is an automated email from the ASF dual-hosted git repository.
lihaopeng pushed a commit to branch tpc_preview3
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/tpc_preview3 by this push:
new 82509f52513 fix zone map in effective in column preidate
82509f52513 is described below
commit 82509f5251322722a7da1c4fc444676c486c3b19
Author: happenlee <[email protected]>
AuthorDate: Thu Dec 4 20:58:29 2025 +0800
fix zone map in effective in column preidate
---
be/src/olap/comparison_predicate.h | 4 ----
be/src/olap/in_list_predicate.h | 3 ---
2 files changed, 7 deletions(-)
diff --git a/be/src/olap/comparison_predicate.h
b/be/src/olap/comparison_predicate.h
index f798317cbc8..52d0d9bf5e2 100644
--- a/be/src/olap/comparison_predicate.h
+++ b/be/src/olap/comparison_predicate.h
@@ -144,10 +144,6 @@ public:
}
bool evaluate_and(const std::pair<WrapperField*, WrapperField*>&
statistic) const override {
- if (statistic.first->is_null()) {
- return true;
- }
-
T tmp_min_value = get_zone_map_value<Type,
T>(statistic.first->cell_ptr());
T tmp_max_value = get_zone_map_value<Type,
T>(statistic.second->cell_ptr());
diff --git a/be/src/olap/in_list_predicate.h b/be/src/olap/in_list_predicate.h
index 0437e2d6a50..dad7478cac6 100644
--- a/be/src/olap/in_list_predicate.h
+++ b/be/src/olap/in_list_predicate.h
@@ -274,9 +274,6 @@ public:
}
bool evaluate_and(const std::pair<WrapperField*, WrapperField*>&
statistic) const override {
- if (statistic.first->is_null()) {
- return true;
- }
if constexpr (PT == PredicateType::IN_LIST) {
return Compare::less_equal(get_zone_map_value<Type,
T>(statistic.first->cell_ptr()),
_max_value) &&
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]