morningman commented on a change in pull request #1606: Fix error DCHECK for 
partition_columns
URL: https://github.com/apache/incubator-doris/pull/1606#discussion_r311850253
 
 

 ##########
 File path: be/src/exec/tablet_info.cpp
 ##########
 @@ -171,7 +171,6 @@ Status OlapTablePartitionParam::init() {
         }
         _partition_slot_descs.push_back(it->second);
     } else {
-        DCHECK(_t_param.__isset.partition_columns);
 
 Review comment:
   Please add `else if` to make it more clear and definite:
   
   ```
   } else if (_t_param.__isset.partition_columns) {
   xxxx
   }
   ```
   
   Although without this `else if`, it still works

----------------------------------------------------------------
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]


With regards,
Apache Git Services

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

Reply via email to