mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-27 10:02:01 +00:00
Update PartLog.cpp
This commit is contained in:
parent
bd4df60df6
commit
c0ac6484c3
@ -231,10 +231,10 @@ bool PartLog::addNewParts(
|
|||||||
elem.table_name = table_id.table_name;
|
elem.table_name = table_id.table_name;
|
||||||
elem.table_uuid = table_id.uuid;
|
elem.table_uuid = table_id.uuid;
|
||||||
elem.partition_id = part->info.partition_id;
|
elem.partition_id = part->info.partition_id;
|
||||||
FormatSettings format_settings;
|
{
|
||||||
WriteBufferFromOwnString out;
|
WriteBufferFromString out(elem.partition);
|
||||||
part->partition.serializeText(part->storage, out, format_settings);
|
part->partition.serializeText(part->storage, out, {});
|
||||||
elem.partition = out.str();
|
}
|
||||||
elem.part_name = part->name;
|
elem.part_name = part->name;
|
||||||
elem.disk_name = part->getDataPartStorage().getDiskName();
|
elem.disk_name = part->getDataPartStorage().getDiskName();
|
||||||
elem.path_on_disk = part->getDataPartStorage().getFullPath();
|
elem.path_on_disk = part->getDataPartStorage().getFullPath();
|
||||||
|
Loading…
Reference in New Issue
Block a user