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

Function getTraits

src/Processors/QueryPlan/WindowStep.cpp:13–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11{
12
13static ITransformingStep::Traits getTraits(bool preserves_sorting)
14{
15 return ITransformingStep::Traits
16 {
17 {
18 .returns_single_stream = false,
19 .preserves_number_of_streams = true,
20 .preserves_sorting = preserves_sorting,
21 },
22 {
23 .preserves_number_of_rows = true
24 }
25 };
26}
27
28static Block addWindowFunctionResultColumns(const Block & block,
29 std::vector<WindowFunctionDescription> window_functions)

Callers 1

WindowStepMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected