Merge pull request #44806 from ClickHouse/44705_print_table_name

Added table name to error message
This commit is contained in:
Alexander Gololobov 2022-12-31 10:55:34 +01:00 committed by GitHub
commit 5fe0525867
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -112,7 +112,7 @@ BlockIO InterpreterDeleteQuery::execute()
}
else
{
throw Exception(ErrorCodes::BAD_ARGUMENTS, "DELETE query is not supported for table");
throw Exception(ErrorCodes::BAD_ARGUMENTS, "DELETE query is not supported for table {}", table->getStorageID().getFullTableName());
}
}