mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-01 03:52:15 +00:00
Do not create processors for totals stream.
This commit is contained in:
parent
1410d1a1ae
commit
ad8af5b5ba
@ -137,10 +137,14 @@ void QueryPipeline::addSimpleTransformImpl(const TProcessorGetter & getter)
|
||||
|
||||
auto & out_header = transform ? transform->getOutputs().front().getHeader()
|
||||
: stream->getHeader();
|
||||
if (header)
|
||||
assertBlocksHaveEqualStructure(header, out_header, "QueryPipeline");
|
||||
else
|
||||
header = out_header;
|
||||
|
||||
if (stream_type != StreamType::Totals)
|
||||
{
|
||||
if (header)
|
||||
assertBlocksHaveEqualStructure(header, out_header, "QueryPipeline");
|
||||
else
|
||||
header = out_header;
|
||||
}
|
||||
|
||||
if (transform)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user