MCPcopy Create free account
hub / github.com/ClickHouse/ClickHouse / transformHeader

Function transformHeader

src/Dictionaries/DictionarySourceHelpers.cpp:93–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

91}
92
93static Block transformHeader(Block header, Block block_to_add)
94{
95 for (Int64 i = static_cast<Int64>(block_to_add.columns() - 1); i >= 0; --i)
96 header.insert(0, block_to_add.getByPosition(i).cloneEmpty());
97
98 return header;
99}
100
101TransformWithAdditionalColumns::TransformWithAdditionalColumns(
102 SharedHeader block_to_add_, SharedHeader header)

Callers 15

addFilterMethod · 0.85
TTLDeleteFilterStepMethod · 0.85
updateOutputHeaderMethod · 0.85
FillingNoopTransformMethod · 0.85
FilterTransformMethod · 0.85
TotalsHavingTransformMethod · 0.85
ExpressionTransformMethod · 0.85

Calls 3

columnsMethod · 0.80
insertMethod · 0.45
cloneEmptyMethod · 0.45

Tested by

no test coverage detected