This commit is contained in:
alesapin 2022-02-02 19:44:29 +03:00
parent 80800e051e
commit e0f640dd9f

View File

@ -1636,6 +1636,7 @@ String IMergeTreeDataPart::getUniqueId() const
return disk->getUniqueId(fs::path(getFullRelativePath()) / FILE_FOR_REFERENCES_CHECK);
}
String IMergeTreeDataPart::getZeroLevelPartBlockID(std::string_view token) const
{
if (info.level != 0)
throw Exception(ErrorCodes::LOGICAL_ERROR, "Trying to get block id for non zero level part {}", name);