From e0896ab8be116d963bf9d82f812beb07e6a93b69 Mon Sep 17 00:00:00 2001 From: ruslandoga Date: Tue, 19 Nov 2024 13:02:14 +0700 Subject: [PATCH] Fix index type name in the error message --- src/Storages/MergeTree/MergeTreeIndexFullText.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Storages/MergeTree/MergeTreeIndexFullText.cpp b/src/Storages/MergeTree/MergeTreeIndexFullText.cpp index f502726763c..20f1b7d011b 100644 --- a/src/Storages/MergeTree/MergeTreeIndexFullText.cpp +++ b/src/Storages/MergeTree/MergeTreeIndexFullText.cpp @@ -748,7 +748,7 @@ MergeTreeIndexGranulePtr MergeTreeIndexFullText::createIndexGranule() const /// have an old index. /// TODO: remove this at the end of 2024. 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(index.name, index.column_names.size(), params);