ClickHouse/src/Storages/MergeTree/checkDataPart.h

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

19 lines
414 B
C++
Raw Normal View History

#pragma once
#include <Storages/MergeTree/MergeTreeData.h>
namespace DB
{
2020-01-13 14:53:32 +00:00
/// Calculates checksums and compares them with checksums.txt.
IMergeTreeDataPart::Checksums checkDataPart(
2019-03-20 16:18:13 +00:00
MergeTreeData::DataPartPtr data_part,
bool require_checksums,
std::function<bool()> is_cancelled = []{ return false; });
bool isNotEnoughMemoryErrorCode(int code);
2023-06-22 12:23:51 +00:00
bool isRetryableException(const Exception & e);
}