diff --git a/src/Processors/QueryPlan/Serialization.cpp b/src/Processors/QueryPlan/Serialization.cpp index 53a0d337187..22457307493 100644 --- a/src/Processors/QueryPlan/Serialization.cpp +++ b/src/Processors/QueryPlan/Serialization.cpp @@ -552,7 +552,7 @@ static QueryPlanResourceHolder replaceReadingFromTable(QueryPlan::Node & node, Q { SelectQueryOptions options(QueryProcessingStage::FetchColumns); options.ignore_rename_columns = true; - InterpreterSelectQueryAnalyzer interpreter(wrapWithUnion(std::move(query)), context, options, column_names); + InterpreterSelectQueryAnalyzer interpreter(wrapWithUnion(std::move(query)), context, options); reading_plan = std::move(interpreter).extractQueryPlan(); } else