uchenily commented on code in PR #55586:
URL: https://github.com/apache/doris/pull/55586#discussion_r2332765112


##########
be/src/olap/tablet_schema.cpp:
##########
@@ -1565,7 +1565,8 @@ void TabletSchema::update_tablet_columns(const 
TabletSchema& tablet_schema,
 
 bool TabletSchema::has_inverted_index_with_index_id(int64_t index_id) const {
     for (size_t i = 0; i < _indexes.size(); i++) {
-        if (_indexes[i]->index_type() == IndexType::INVERTED &&
+        if ((_indexes[i]->index_type() == IndexType::INVERTED ||

Review Comment:
   Currently, in order to make as few changes as possible (also for the 
convenience of review), no modifications have been made. Not only BE, but FE 
also have the same problem.



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

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