Address PR comments

This commit is contained in:
Antonio Andelic 2022-04-04 07:24:10 +00:00
parent d96b682a55
commit a926bc19ea
2 changed files with 1 additions and 4 deletions

View File

@ -124,7 +124,4 @@ public:
private:
NamePrompter<MaxNumHints> prompter;
};
void appendHintsString(String & message, const std::vector<String> & hints, const String & name);
}

View File

@ -1047,7 +1047,7 @@ void AlterCommands::validate(const StorageInMemoryMetadata & metadata, ContextPt
{
if (!command.if_exists)
{
String exception_message = fmt::format("Wrong column. Cannot find colum {} to modify", backQuote(column_name));
String exception_message = fmt::format("Wrong column. Cannot find column {} to modify", backQuote(column_name));
all_columns.appendHintsMessage(exception_message, column_name);
throw Exception{exception_message,
ErrorCodes::NOT_FOUND_COLUMN_IN_BLOCK};