mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-30 03:22:14 +00:00
dbms: improved error message
This commit is contained in:
parent
ce21a286af
commit
788e8596de
@ -48,7 +48,7 @@ Block InterpreterInsertQuery::getSampleBlock()
|
||||
|
||||
/// В таблице нет столбца с таким именем
|
||||
if (!db_sample.has(currentName))
|
||||
throw Exception("No such column in table: " + currentName, ErrorCodes::NO_SUCH_COLUMN_IN_TABLE);
|
||||
throw Exception("No such column " + currentName + " in table " + query.table, ErrorCodes::NO_SUCH_COLUMN_IN_TABLE);
|
||||
|
||||
ColumnWithNameAndType col;
|
||||
col.name = currentName;
|
||||
|
Loading…
Reference in New Issue
Block a user