mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-13 09:52:38 +00:00
d8adf05de2
Added a new virtual column _block_number which is persisted on merges when allow_experimental_block_number_column is enabled
17 lines
299 B
C++
17 lines
299 B
C++
#pragma once
|
|
#include <Core/NamesAndTypes.h>
|
|
#include <DataTypes/DataTypesNumber.h>
|
|
#include <Compression/CompressionFactory.h>
|
|
|
|
namespace DB
|
|
{
|
|
|
|
struct BlockNumberColumn
|
|
{
|
|
static const String name;
|
|
static const DataTypePtr type;
|
|
static const CompressionCodecPtr compression_codec;
|
|
};
|
|
|
|
}
|