mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-13 11:04:10 +00:00
Address PR comments
This commit is contained in:
parent
d96b682a55
commit
a926bc19ea
@ -124,7 +124,4 @@ public:
|
||||
private:
|
||||
NamePrompter<MaxNumHints> prompter;
|
||||
};
|
||||
|
||||
void appendHintsString(String & message, const std::vector<String> & hints, const String & name);
|
||||
|
||||
}
|
||||
|
@ -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};
|
||||
|
Loading…
Reference in New Issue
Block a user