Merge pull request #19948 from Avogar/select-final

Fix build
This commit is contained in:
Maksim Kita 2021-02-02 00:04:13 +03:00 committed by GitHub
commit fe0ef1fcce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1549,7 +1549,7 @@ QueryPlanPtr MergeTreeDataSelectExecutor::spreadMarkRangesAmongStreamsFinal(
if (!out_projection) if (!out_projection)
out_projection = createProjection(pipe.getHeader()); out_projection = createProjection(pipe.getHeader());
QueryPlanPtr plan = createPlanFromPipe(std::move(pipe), "with final"); QueryPlanPtr plan = createPlanFromPipe(std::move(pipe), query_id, data, "with final");
auto expression_step = std::make_unique<ExpressionStep>( auto expression_step = std::make_unique<ExpressionStep>(
plan->getCurrentDataStream(), plan->getCurrentDataStream(),