mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-30 11:32:03 +00:00
fix setNeeded() in PlanSquashing
This commit is contained in:
parent
4a72b36f28
commit
c5159bc3aa
@ -64,12 +64,12 @@ IProcessor::Status PlanSquashingTransform::prepareConsume()
|
|||||||
for (auto & input : inputs)
|
for (auto & input : inputs)
|
||||||
{
|
{
|
||||||
if (!input.isFinished())
|
if (!input.isFinished())
|
||||||
all_finished = false;
|
|
||||||
else
|
|
||||||
{
|
{
|
||||||
|
all_finished = false;
|
||||||
input.setNeeded();
|
input.setNeeded();
|
||||||
continue;
|
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
continue;
|
||||||
|
|
||||||
if (input.hasData())
|
if (input.hasData())
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user