Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions be/src/olap/olap_cond.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -387,18 +387,20 @@ int Cond::del_eval(const std::pair<WrapperField*, WrapperField*>& stat) const {
ret = DEL_SATISFIED;
} else if (stat.first->is_null() && !stat.second->is_null()) {
ret = DEL_PARTIAL_SATISFIED;
} else if (!stat.first->is_null() && !stat.second->is_null()){
ret = DEL_NOT_SATISFIED;
} else {
CHECK(false) << "It will not happen when the stat's min is not null and max is null";
ret = DEL_SATISFIED;
}
} else {
if (stat.first->is_null() && stat.second->is_null()) {
ret = DEL_NOT_SATISFIED;
} else if (stat.first->is_null() && !stat.second->is_null()) {
ret = DEL_PARTIAL_SATISFIED;
} else if (!stat.first->is_null() && !stat.second->is_null()){
ret = DEL_SATISFIED;
} else {
CHECK(false) << "It will not happen when the stat's min is not null and max is null";
ret = DEL_SATISFIED;
}
}
return ret;
Expand Down