ClickHouse/src/Interpreters/getColumnFromBlock.h

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
389 B
C++
Raw Normal View History

2022-02-16 14:18:03 +00:00
#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);
}