mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-01 20:12:02 +00:00
Fix build.
This commit is contained in:
parent
d968f276b5
commit
efd1f10a6d
@ -25,10 +25,10 @@ static ITransformingStep::Traits getTraits()
|
||||
AddingMissedStep::AddingMissedStep(
|
||||
const DataStream & input_stream_,
|
||||
Block result_header_,
|
||||
const ColumnDefaults & column_defaults_,
|
||||
ColumnsDescription columns_,
|
||||
const Context & context_)
|
||||
: ITransformingStep(input_stream_, result_header_, getTraits())
|
||||
, column_defaults(column_defaults_)
|
||||
, columns(std::move(columns_))
|
||||
, context(context_)
|
||||
{
|
||||
updateDistinctColumns(output_stream->header, output_stream->distinct_columns);
|
||||
@ -38,7 +38,7 @@ void AddingMissedStep::transformPipeline(QueryPipeline & pipeline)
|
||||
{
|
||||
pipeline.addSimpleTransform([&](const Block & header)
|
||||
{
|
||||
return std::make_shared<AddingMissedTransform>(header, output_stream->header, column_defaults, context);
|
||||
return std::make_shared<AddingMissedTransform>(header, output_stream->header, columns, context);
|
||||
});
|
||||
}
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
#pragma once
|
||||
#include <Processors/QueryPlan/ITransformingStep.h>
|
||||
#include <Storages/ColumnDefault.h>
|
||||
#include <Storages/ColumnsDescription.h>
|
||||
|
||||
namespace DB
|
||||
{
|
||||
@ -11,7 +11,7 @@ class AddingMissedStep : public ITransformingStep
|
||||
public:
|
||||
AddingMissedStep(const DataStream & input_stream_,
|
||||
Block result_header_,
|
||||
const ColumnDefaults & column_defaults_,
|
||||
ColumnsDescription columns_,
|
||||
const Context & context_);
|
||||
|
||||
String getName() const override { return "AddingMissed"; }
|
||||
@ -19,7 +19,7 @@ public:
|
||||
void transformPipeline(QueryPipeline & pipeline) override;
|
||||
|
||||
private:
|
||||
ColumnDefaults column_defaults;
|
||||
ColumnsDescription columns;
|
||||
const Context & context;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user