ClickHouse/src/Storages/MergeTree/AllMergeSelector.h

20 lines
407 B
C++
Raw Normal View History

#pragma once
#include <Storages/MergeTree/MergeSelector.h>
namespace DB
{
2019-01-22 19:56:53 +00:00
/// Select all parts within partition (having at least two parts) with minimum total size.
class AllMergeSelector : public IMergeSelector
{
public:
/// Parameter max_total_size_to_merge is ignored.
2020-09-03 13:29:18 +00:00
PartsRange select(
const PartsRanges & parts_ranges,
const size_t max_total_size_to_merge) override;
};
}