ClickHouse/src/Storages/MergeTree/MergeAlgorithm.h

18 lines
351 B
C++
Raw Normal View History

2020-09-10 14:56:15 +00:00
#pragma once
2021-10-02 07:13:14 +00:00
#include <base/types.h>
2020-09-10 14:56:15 +00:00
namespace DB
{
/// Algorithm of Merge.
enum class MergeAlgorithm
{
Undecided, /// Not running yet
Horizontal, /// per-row merge of all columns
Vertical /// per-row merge of PK and secondary indices columns, per-column gather for non-PK columns
};
String toString(MergeAlgorithm merge_algorithm);
}