mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-21 01:00:48 +00:00
Fix totals and extremes for delayed replica.
This commit is contained in:
parent
42c5248611
commit
b6f04cac47
@ -127,6 +127,9 @@ Processors DelayedSource::expandPipeline()
|
||||
/// Add new inputs. They must have the same header as output.
|
||||
for (const auto & output : {main_output, totals_output, extremes_output})
|
||||
{
|
||||
if (!output)
|
||||
continue;
|
||||
|
||||
inputs.emplace_back(outputs.front().getHeader(), this);
|
||||
/// Connect checks that header is same for ports.
|
||||
connect(*output, inputs.back());
|
||||
|
Loading…
Reference in New Issue
Block a user