mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-04 13:32:13 +00:00
14 lines
389 B
C++
14 lines
389 B
C++
#pragma once
|
|
#include <Core/Block.h>
|
|
|
|
namespace DB
|
|
{
|
|
|
|
/// Helps in-memory storages to extract columns from block.
|
|
/// Properly handles cases, when column is a subcolumn and when it is compressed.
|
|
ColumnPtr getColumnFromBlock(const Block & block, const NameAndTypePair & requested_column);
|
|
|
|
ColumnPtr tryGetColumnFromBlock(const Block & block, const NameAndTypePair & requested_column);
|
|
|
|
}
|