ClickHouse/dbms/Storages/MergeTree/AllMergeSelector.h

20 lines
410 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.
PartsInPartition select(
const Partitions & partitions,
const size_t max_total_size_to_merge) override;
};
}