mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-14 18:32:29 +00:00
Backport #72735 to 24.9: Fix context lifetime for Y-shaped join.
This commit is contained in:
parent
1fbcec4308
commit
e55aaa6eb6
@ -339,6 +339,7 @@ QueryPipelineBuilderPtr QueryPipelineBuilder::mergePipelines(
|
||||
left->pipe.processors->insert(left->pipe.processors->end(), right->pipe.processors->begin(), right->pipe.processors->end());
|
||||
left->pipe.header = left->pipe.output_ports.front()->getHeader();
|
||||
left->pipe.max_parallel_streams = std::max(left->pipe.max_parallel_streams, right->pipe.max_parallel_streams);
|
||||
left->resources = std::move(right->resources);
|
||||
return left;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user