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

Method describeActions

src/Processors/QueryPlan/ArrayJoinStep.cpp:62–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60}
61
62void ArrayJoinStep::describeActions(FormatSettings & settings) const
63{
64 const String & prefix = settings.detail_prefix;
65 bool first = true;
66
67 settings.out << prefix << (array_join.is_left ? "LEFT " : "") << "ARRAY JOIN ";
68 for (const auto & column : array_join.columns)
69 {
70 if (!first)
71 settings.out << ", ";
72 first = false;
73
74
75 settings.out << (settings.pretty ? QueryPlanFormat::formatColumnPretty(column, settings.pretty_names) : column);
76 }
77 settings.out << '\n';
78}
79
80void ArrayJoinStep::describeActions(JSONBuilder::JSONMap & map) const
81{

Callers

nothing calls this directly

Calls 2

formatColumnPrettyFunction · 0.85
addMethod · 0.45

Tested by

no test coverage detected