未验证 提交 11ee5621 编写于 作者: N Nikolai Kochetov 提交者: GitHub

Merge pull request #8433 from ClickHouse/fix-sorting-aggregated-transform

Fix SortingAggregatedTransform.
......@@ -429,21 +429,30 @@ IProcessor::Status SortingAggregatedTransform::prepare()
continue;
}
all_finished = false;
//all_finished = false;
in->setNeeded();
if (!in->hasData())
{
need_data = true;
all_finished = false;
continue;
}
auto chunk = in->pull();
/// If chunk was pulled, then we need data from this port.
need_data = true;
addChunk(std::move(chunk), input_num);
if (in->isFinished())
{
is_input_finished[input_num] = true;
}
else
{
/// If chunk was pulled, then we need data from this port.
need_data = true;
all_finished = false;
}
}
if (pushed_to_output)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册