fix issue
This commit is contained in:
parent
13086bc66e
commit
424e574e94
|
@ -1099,6 +1099,7 @@ static int32_t getOpratorIntervalInfo(SOperatorInfo* pOperator, int64_t* pWaterM
|
|||
SStreamScanInfo* pScanOp = (SStreamScanInfo*) pOperator->info;
|
||||
*pWaterMark = pScanOp->twAggSup.waterMark;
|
||||
*pInterval = pScanOp->interval;
|
||||
*pLastWindow = pScanOp->lastScanRange;
|
||||
return TSDB_CODE_SUCCESS;
|
||||
}
|
||||
|
||||
|
|
|
@ -1315,8 +1315,9 @@ static void doStreamTimeSliceImpl(SOperatorInfo* pOperator, SSDataBlock* pBlock)
|
|||
pkLen = colDataGetRowLength(pPkColDataInfo, startPos);
|
||||
}
|
||||
|
||||
if (pInfo->ignoreExpiredData && checkExpiredData(&pAggSup->stateStore, pAggSup->pUpdateInfo, &pInfo->twAggSup,
|
||||
pBlock->info.id.uid, tsCols[startPos], pPkVal, pkLen)) {
|
||||
if (pInfo->twAggSup.calTrigger != STREAM_TRIGGER_FORCE_WINDOW_CLOSE && pInfo->ignoreExpiredData &&
|
||||
checkExpiredData(&pAggSup->stateStore, pAggSup->pUpdateInfo, &pInfo->twAggSup, pBlock->info.id.uid,
|
||||
tsCols[startPos], pPkVal, pkLen)) {
|
||||
qDebug("===stream===ignore expired data, window end ts:%" PRId64 ", maxts - wartermak:%" PRId64, tsCols[startPos],
|
||||
pInfo->twAggSup.maxTs - pInfo->twAggSup.waterMark);
|
||||
continue;
|
||||
|
|
Loading…
Reference in New Issue