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

Function formatColumnPretty

src/Processors/QueryPlan/QueryPlanFormat.cpp:453–458  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

451 }
452
453 String formatColumnPretty(const String & column_name, const std::unordered_map<String, PrettyColumnName> & pretty_names)
454 {
455 if (auto it = pretty_names.find(column_name); it != pretty_names.end())
456 return it->second.expression;
457 return trimColumnIdentifier(column_name);
458 }
459
460 std::string_view getColumnAnnotation(const String & column_name, const ExplainFormatSettings & settings)
461 {

Callers 15

describeActionsMethod · 0.85
describeActionsMethod · 0.85
describeActionsMethod · 0.85
describeActionsMethod · 0.85
describeActionsMethod · 0.85
describeActionsMethod · 0.85
describeActionsMethod · 0.85
describeActionsMethod · 0.85
describeActionsMethod · 0.85
describeActionsMethod · 0.85
describeActionsMethod · 0.85

Calls 3

trimColumnIdentifierFunction · 0.85
findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected