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,7 +1546,8 @@ void InterpreterSelectQuery::executeFetchColumns(
|
||||
|
||||
if constexpr (pipeline_with_processors)
|
||||
{
|
||||
pipeline.setMaxThreads(streams.size());
|
||||
if (streams.size() == 1)
|
||||
pipeline.setMaxThreads(streams.size());
|
||||
|
||||
/// Unify streams. They must have same headers.
|
||||
if (streams.size() > 1)
|
||||
|
Loading…
Reference in New Issue
Block a user