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

Function getTraits

src/Processors/QueryPlan/ExpressionStep.cpp:24–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22}
23
24static ITransformingStep::Traits getTraits(const ActionsDAG & actions)
25{
26 return ITransformingStep::Traits
27 {
28 {
29 .returns_single_stream = false,
30 .preserves_number_of_streams = true,
31 .preserves_sorting = false,
32 },
33 {
34 .preserves_number_of_rows = !actions.hasArrayJoin(),
35 }
36 };
37}
38
39static bool containsCompiledFunction(const ActionsDAG::Node * node)
40{

Callers 1

ExpressionStepMethod · 0.70

Calls 1

hasArrayJoinMethod · 0.45

Tested by

no test coverage detected