yangzhg commented on a change in pull request #3424: URL: https://github.com/apache/incubator-doris/pull/3424#discussion_r422745613
########## File path: be/src/olap/olap_cond.cpp ########## @@ -637,7 +637,7 @@ bool Conditions::delete_conditions_eval(const RowCursor& row) const { } for (auto& each_cond : _columns) { - if (each_cond.second->is_key() && !each_cond.second->eval(row)) { + if (_cond_column_is_key_or_duplicate(each_cond.second) && !each_cond.second->eval(row)) { Review comment: agg type has two may be null or AGG_NONE, it maybe more complicated ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org