Skip to content

Commit 3ad2d43

Browse files
committed
export processors getter in QueryPlanStep
1 parent eefee3c commit 3ad2d43

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

src/Processors/QueryPlan/AggregatingStep.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,11 @@ class AggregatingStep : public ITransformingStep
7676
/// Argument input_stream would be the second input (from projection).
7777
std::unique_ptr<AggregatingProjectionStep> convertToAggregatingProjection(const DataStream & input_stream) const;
7878

79+
const Processors & getProcessors() const override
80+
{
81+
return aggregating;
82+
}
83+
7984
private:
8085
void updateOutputStream() override;
8186

src/Processors/QueryPlan/IQueryPlanStep.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,11 @@ class IQueryPlanStep
107107
/// Append extra processors for this step.
108108
void appendExtraProcessors(const Processors & extra_processors);
109109

110+
virtual const Processors & getProcessors() const
111+
{
112+
return processors;
113+
}
114+
110115
protected:
111116
DataStreams input_streams;
112117
std::optional<DataStream> output_stream;

0 commit comments

Comments
 (0)