yangzhg commented on a change in pull request #3628:
URL: https://github.com/apache/incubator-doris/pull/3628#discussion_r427028900



##########
File path: be/src/olap/rowset/alpha_rowset.cpp
##########
@@ -300,16 +300,23 @@ OLAPStatus AlphaRowset::init() {
 
         if (segment_group_meta.zone_maps_size() != 0) {
             size_t zone_maps_size = segment_group_meta.zone_maps_size();
-            size_t num_key_columns = _schema->keys_type() == 
KeysType::DUP_KEYS ? _schema->num_columns() : _schema->num_key_columns();
-            if (num_key_columns != zone_maps_size) {
+            size_t expect_zone_maps_num = _schema->keys_type() == 
KeysType::DUP_KEYS ? _schema->num_columns() : _schema->num_key_columns();

Review comment:
       done
   




----------------------------------------------------------------
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:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to