fix: the number of output lines is incorrect when the event window is used with the multiline function
This commit is contained in:
parent
486fea65dc
commit
cf9c2a112f
|
@ -29,7 +29,7 @@ typedef struct SEventWindowOperatorInfo {
|
||||||
SWindowRowsSup winSup;
|
SWindowRowsSup winSup;
|
||||||
int32_t tsSlotId; // primary timestamp column slot id
|
int32_t tsSlotId; // primary timestamp column slot id
|
||||||
STimeWindowAggSupp twAggSup;
|
STimeWindowAggSupp twAggSup;
|
||||||
uint64_t groupId; // current group id, used to identify the data block from different groups
|
uint64_t groupId; // current group id, used to identify the data block from different groups
|
||||||
SFilterInfo* pStartCondInfo;
|
SFilterInfo* pStartCondInfo;
|
||||||
SFilterInfo* pEndCondInfo;
|
SFilterInfo* pEndCondInfo;
|
||||||
bool inWindow;
|
bool inWindow;
|
||||||
|
@ -310,6 +310,7 @@ int32_t eventWindowAggImpl(SOperatorInfo* pOperator, SEventWindowOperatorInfo* p
|
||||||
pSup->rowEntryInfoOffset, pTaskInfo);
|
pSup->rowEntryInfoOffset, pTaskInfo);
|
||||||
|
|
||||||
pRes->info.rows += pInfo->pRow->numOfRows;
|
pRes->info.rows += pInfo->pRow->numOfRows;
|
||||||
|
pInfo->pRow->numOfRows = 0;
|
||||||
|
|
||||||
pInfo->inWindow = false;
|
pInfo->inWindow = false;
|
||||||
rowIndex += 1;
|
rowIndex += 1;
|
||||||
|
|
Loading…
Reference in New Issue