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

Function getColumnAnnotation

src/Processors/QueryPlan/QueryPlanFormat.cpp:460–465  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

458 }
459
460 std::string_view getColumnAnnotation(const String & column_name, const ExplainFormatSettings & settings)
461 {
462 if (auto it = settings.pretty_names.find(column_name); it != settings.pretty_names.end())
463 return it->second.annotation;
464 return {};
465 }
466
467 static void addAggregatesPrettyNames(const Aggregator::Params & params, std::unordered_map<String, PrettyColumnName> & pretty_names)
468 {

Callers 2

describeActionsMethod · 0.85
describeActionsMethod · 0.85

Calls 2

findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected