mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-01 12:01:58 +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 (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