mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-17 13:13:36 +00:00
Update max_threads for processors.
This commit is contained in:
parent
ca232cebfb
commit
d6e13cbb92
@ -1546,7 +1546,7 @@ void InterpreterSelectQuery::executeFetchColumns(
|
||||
|
||||
if constexpr (pipeline_with_processors)
|
||||
{
|
||||
pipeline.setMaxThreads(max_streams);
|
||||
pipeline.setMaxThreads(streams.size());
|
||||
|
||||
/// Unify streams. They must have same headers.
|
||||
if (streams.size() > 1)
|
||||
|
Loading…
Reference in New Issue
Block a user