eldenmoon commented on code in PR #50027:
URL: https://github.com/apache/doris/pull/50027#discussion_r2049917755
##########
be/src/olap/tablet_schema.cpp:
##########
@@ -1464,6 +1491,22 @@ const TabletIndex* TabletSchema::inverted_index(int32_t
col_unique_id,
return nullptr;
}
+TabletIndexPtr TabletSchema::inverted_index_by_field_pattern(
+ int32_t col_unique_id, const std::string& field_pattern) const {
+ auto id_to_pattern_map = _index_by_unique_id.find(col_unique_id);
+ if (id_to_pattern_map == _index_by_unique_id.end()) {
+ return nullptr;
+ }
+ for (const auto& [pattern, index] : id_to_pattern_map->second) {
Review Comment:
only print log ?
--
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]