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

Method getColumnNames

src/Parsers/ASTStatisticsDeclaration.cpp:23–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21}
22
23std::vector<String> ASTStatisticsDeclaration::getColumnNames() const
24{
25 std::vector<String> result;
26 result.reserve(columns->children.size());
27 for (const ASTPtr & column_ast : columns->children)
28 {
29 result.push_back(column_ast->as<ASTIdentifier &>().name());
30 }
31 return result;
32
33}
34
35std::vector<String> ASTStatisticsDeclaration::getTypeNames() const
36{

Callers 11

buildFilterInfoFunction · 0.80
parseMethod · 0.80
parseMethod · 0.80
getDistinctColumnsFunction · 0.80
tryLiftUpUnionFunction · 0.80
buildInputOrderInfoFunction · 0.80
applyOrderFunction · 0.80

Calls 4

reserveMethod · 0.45
sizeMethod · 0.45
push_backMethod · 0.45
nameMethod · 0.45

Tested by

no test coverage detected