Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ByConity/ByConity
/ reorderColumns
Function
reorderColumns
src/DataStreams/TTLBlockInputStream.cpp:113–120 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
111
}
112
113
Block reorderColumns(Block block, const Block & header)
114
{
115
Block res;
116
for (const auto & col : header)
117
res.insert(block.getByName(col.name));
118
119
return res;
120
}
121
122
Block TTLBlockInputStream::readImpl()
123
{
Callers
2
readImpl
Method · 0.85
perform
Method · 0.85
Calls
2
getByName
Method · 0.80
insert
Method · 0.45
Tested by
no test coverage detected