mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-11 18:14:03 +00:00
Merge
This commit is contained in:
parent
c4bbb1fe45
commit
b6404afed4
@ -296,7 +296,7 @@ void StorageChunkMerger::mergeChunks(const Storages & chunks)
|
||||
String current_type_name = type->getName();
|
||||
String known_type_name = known_columns_types[name]->getName();
|
||||
if (current_type_name != known_type_name)
|
||||
throw Exception("Different types of column " + name + " in different chunks: type " + current_type_name + " in chunk " + chunks[chunk_index]->getName() + ", type " + known_type_name + " somewhere else", ErrorCodes::TYPE_MISMATCH);
|
||||
throw Exception("Different types of column " + name + " in different chunks: type " + current_type_name + " in chunk " + chunks[chunk_index]->getTableName() + ", type " + known_type_name + " somewhere else", ErrorCodes::TYPE_MISMATCH);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user