You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2022/05/26 14:00:57 UTC

[GitHub] [incubator-doris] Gabriel39 commented on a diff in pull request #9792: Opt scannode

Gabriel39 commented on code in PR #9792:
URL: https://github.com/apache/incubator-doris/pull/9792#discussion_r882702083


##########
be/src/olap/rowset/segment_v2/segment_iterator.cpp:
##########
@@ -705,6 +704,9 @@ void SegmentIterator::_vec_init_lazy_materialization() {
     //  _schema.column_ids() stands for storage layer block schema, so it contains delete columnid
     //  we just regard delete column as common pred column here.
     if (_schema.column_ids().size() > pred_column_ids.size()) {
+        if (pred_column_ids.size() > 0) {

Review Comment:
   remove for-loop codes below



-- 
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-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org