mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-26 19:50:51 +00:00
Do not create processors for totals stream.
This commit is contained in:
parent
ad8af5b5ba
commit
f170e55ebd
@ -718,8 +718,11 @@ void InterpreterSelectQuery::executeImpl(TPipeline & pipeline, const BlockInputS
|
|||||||
{
|
{
|
||||||
if constexpr (pipeline_with_processors)
|
if constexpr (pipeline_with_processors)
|
||||||
{
|
{
|
||||||
pipeline.addSimpleTransform([&](const Block & block)
|
pipeline.addSimpleTransform([&](const Block & block, QueryPipeline::StreamType stream_type) -> ProcessorPtr
|
||||||
{
|
{
|
||||||
|
if (stream_type == QueryPipeline::StreamType::Totals)
|
||||||
|
return nullptr;
|
||||||
|
|
||||||
return std::make_shared<FilterTransform>(
|
return std::make_shared<FilterTransform>(
|
||||||
block,
|
block,
|
||||||
expressions.filter_info->actions,
|
expressions.filter_info->actions,
|
||||||
|
Loading…
Reference in New Issue
Block a user