From e81c2999a3ffe0733be88ced07456fca67119c4b Mon Sep 17 00:00:00 2001 From: Antonio Andelic Date: Mon, 3 Apr 2023 16:56:45 +0200 Subject: [PATCH] Update src/Interpreters/InterpreterAlterQuery.cpp Co-authored-by: Alexander Tokmakov --- src/Interpreters/InterpreterAlterQuery.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Interpreters/InterpreterAlterQuery.cpp b/src/Interpreters/InterpreterAlterQuery.cpp index c683296a2ba..49bc18534a8 100644 --- a/src/Interpreters/InterpreterAlterQuery.cpp +++ b/src/Interpreters/InterpreterAlterQuery.cpp @@ -99,7 +99,7 @@ BlockIO InterpreterAlterQuery::executeToTable(const ASTAlterQuery & alter) } if (!table) - throw Exception(ErrorCodes::BAD_ARGUMENTS, "Could not find table: {}", table_id.table_name); + throw Exception(ErrorCodes::UNKNOWN_TABLE, "Could not find table: {}", table_id.table_name); checkStorageSupportsTransactionsIfNeeded(table, getContext()); if (table->isStaticStorage())