Compare commits

...

2 Commits

Author SHA1 Message Date
ruslandoga
c751c76b65
Merge e0896ab8be into ed4d955df6 2024-11-20 19:23:36 +08:00
ruslandoga
e0896ab8be
Fix index type name in the error message 2024-11-19 13:02:14 +07:00

View File

@ -748,7 +748,7 @@ MergeTreeIndexGranulePtr MergeTreeIndexFullText::createIndexGranule() const
/// have an old index. /// have an old index.
/// TODO: remove this at the end of 2024. /// TODO: remove this at the end of 2024.
if (index.type == INVERTED_INDEX_NAME) if (index.type == INVERTED_INDEX_NAME)
throw Exception(ErrorCodes::ILLEGAL_INDEX, "Indexes of type 'inverted' are no longer supported. Please drop and recreate the index as type 'full-text'"); throw Exception(ErrorCodes::ILLEGAL_INDEX, "Indexes of type 'inverted' are no longer supported. Please drop and recreate the index as type 'full_text'");
/// ------ /// ------
return std::make_shared<MergeTreeIndexGranuleFullText>(index.name, index.column_names.size(), params); return std::make_shared<MergeTreeIndexGranuleFullText>(index.name, index.column_names.size(), params);