MCPcopy Create free account
hub / github.com/ByConity/ByConity / executeMergeSorted

Method executeMergeSorted

src/Interpreters/InterpreterSelectQuery.cpp:2854–2861  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2852
2853
2854void InterpreterSelectQuery::executeMergeSorted(QueryPlan & query_plan, const std::string & description)
2855{
2856 auto & query = getSelectQuery();
2857 SortDescription order_descr = getSortDescription(query, context);
2858 UInt64 limit = getLimitForSorting(query, context);
2859
2860 executeMergeSorted(query_plan, order_descr, limit, description);
2861}
2862
2863void InterpreterSelectQuery::executeMergeSorted(QueryPlan & query_plan, const SortDescription & sort_description, UInt64 limit, const std::string & description)
2864{

Callers

nothing calls this directly

Calls 5

getLimitForSortingFunction · 0.85
setStepDescriptionMethod · 0.80
getSortDescriptionFunction · 0.70
getSelectQueryFunction · 0.50
addStepMethod · 0.45

Tested by

no test coverage detected