airborne12 commented on code in PR #37842: URL: https://github.com/apache/doris/pull/37842#discussion_r1677752705
########## be/src/olap/rowset/segment_v2/segment_iterator.cpp: ########## @@ -2811,7 +2812,8 @@ void SegmentIterator::_calculate_pred_in_remaining_conjunct_root( } else if (_is_literal_node(node_type)) { auto v_literal_expr = static_cast<const doris::vectorized::VLiteral*>(expr.get()); _column_predicate_info->query_values.insert(v_literal_expr->value()); - } else { + } else if (node_type == TExprNodeType::BINARY_PRED || node_type == TExprNodeType::MATCH_PRED || Review Comment: Remember to refactor in order to unify all the code to the same behavior. -- 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. To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org 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