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

Function getSortDescriptionFromNames

src/Planner/Planner.cpp:683–692  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

681}
682
683SortDescription getSortDescriptionFromNames(const Names & names)
684{
685 SortDescription order_descr;
686 order_descr.reserve(names.size());
687
688 for (const auto & name : names)
689 order_descr.emplace_back(name, 1, 1);
690
691 return order_descr;
692}
693
694void addAggregationStep(QueryPlan & query_plan,
695 const AggregationAnalysisResult & aggregation_analysis_result,

Callers 1

addAggregationStepFunction · 0.85

Calls 3

reserveMethod · 0.45
sizeMethod · 0.45
emplace_backMethod · 0.45

Tested by

no test coverage detected