提交 8c3cc016 编写于 作者: G Ganlin Zhao

fix(query): fix interp fill(next) result errors

上级 78475201
......@@ -2344,8 +2344,9 @@ static SSDataBlock* doTimeslice(SOperatorInfo* pOperator) {
break;
}
} else if (ts < pSliceInfo->current) {
//in case interpolation window starts and ends between two datapoints, fill(prev) need to interpolate
//in case interpolation window starts and ends between two datapoints, fill(prev), fill(next) need to interpolate
doKeepPrevRows(pSliceInfo, pBlock, i);
doKeepNextRows(pSliceInfo, pBlock, i + 1);
if (i < pBlock->info.rows - 1) {
int64_t nextTs = *(int64_t*)colDataGetData(pTsCol, i + 1);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册