support dummy tag in sub-table interval query

This commit is contained in:
wpan 2021-07-19 16:26:27 +08:00
parent 59f9aa8c2f
commit 2ae80b66a3
1 changed files with 2 additions and 0 deletions

View File

@ -4885,6 +4885,8 @@ static SSDataBlock* doIntervalAgg(void* param) {
break;
}
setTagValue(pOperator, pRuntimeEnv->pQuery->current->pTable, pIntervalInfo->pCtx, pOperator->numOfOutput);
// the pDataBlock are always the same one, no need to call this again
setInputDataBlock(pOperator, pIntervalInfo->pCtx, pBlock, pQuery->order.order);
hashIntervalAgg(pOperator, &pIntervalInfo->resultRowInfo, pBlock, 0);