diff --git a/source/libs/executor/src/executorimpl.c b/source/libs/executor/src/executorimpl.c index 094060b21387927353fbf9bb0624ae8d8d72e497..6f6097d2581c3569297423136ad0be3a76f6354c 100644 --- a/source/libs/executor/src/executorimpl.c +++ b/source/libs/executor/src/executorimpl.c @@ -1507,7 +1507,8 @@ static int32_t doOpenAggregateOptr(SOperatorInfo* pOperator) { while (1) { SSDataBlock* pBlock = downstream->fpSet.getNextFn(downstream); if (pBlock == NULL) { - if (!hasValidBlock) { + if (!hasValidBlock && + downstream->operatorType != QUERY_NODE_PHYSICAL_PLAN_PARTITION) { createDataBlockForEmptyInput(pOperator, &pBlock); if (pBlock == NULL) { break;