未验证 提交 49137094 编写于 作者: M Minglei Jin 提交者: GitHub

Merge pull request #9633 from taosdata/fix/TS-927

[TS-927]<fix>(query): fix fill(linear) with null values
...@@ -119,7 +119,7 @@ static void doFillOneRowResult(SFillInfo* pFillInfo, void** data, char** srcData ...@@ -119,7 +119,7 @@ static void doFillOneRowResult(SFillInfo* pFillInfo, void** data, char** srcData
point1 = (SPoint){.key = *(TSKEY*)(prev), .val = prev + pCol->col.offset}; point1 = (SPoint){.key = *(TSKEY*)(prev), .val = prev + pCol->col.offset};
point2 = (SPoint){.key = ts, .val = srcData[i] + pFillInfo->index * bytes}; point2 = (SPoint){.key = ts, .val = srcData[i] + pFillInfo->index * bytes};
if (isNull(point2.val, type)) { if (isNull(point1.val, type) || isNull(point2.val, type)) {
setNull(val1, pCol->col.type, bytes); setNull(val1, pCol->col.type, bytes);
continue; continue;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册