mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-03 21:12:28 +00:00
Update src/Processors/Executors/ExecutingGraph.cpp
Co-authored-by: Sergei Trifonov <sergei@clickhouse.com>
This commit is contained in:
parent
66f546ef70
commit
c71deea9aa
@ -122,6 +122,7 @@ bool ExecutingGraph::expandPipeline(std::stack<uint64_t> & stack, uint64_t pid)
|
|||||||
}
|
}
|
||||||
processors->insert(processors->end(), new_processors.begin(), new_processors.end());
|
processors->insert(processors->end(), new_processors.begin(), new_processors.end());
|
||||||
|
|
||||||
|
// Do not consider sources added during pipeline expansion as cancelable to avoid tricky corner cases (e.g. ConvertingAggregatedToChunksWithMergingSource cancelation)
|
||||||
source_processors.resize(source_processors.size() + new_processors.size(), false);
|
source_processors.resize(source_processors.size() + new_processors.size(), false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user