mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-29 21:20:49 +00:00
Update max_threads for processors.
This commit is contained in:
parent
d6e13cbb92
commit
18fff141d1
@ -1546,6 +1546,7 @@ void InterpreterSelectQuery::executeFetchColumns(
|
|||||||
|
|
||||||
if constexpr (pipeline_with_processors)
|
if constexpr (pipeline_with_processors)
|
||||||
{
|
{
|
||||||
|
if (streams.size() == 1)
|
||||||
pipeline.setMaxThreads(streams.size());
|
pipeline.setMaxThreads(streams.size());
|
||||||
|
|
||||||
/// Unify streams. They must have same headers.
|
/// Unify streams. They must have same headers.
|
||||||
|
Loading…
Reference in New Issue
Block a user