Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
taosdata
TDengine
提交
2c25f8c4
T
TDengine
项目概览
taosdata
/
TDengine
2 年多 前同步成功
通知
1193
Star
22020
Fork
4786
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
1
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
T
TDengine
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
1
Issue
1
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
未验证
提交
2c25f8c4
编写于
2月 19, 2023
作者:
W
wade zhang
提交者:
GitHub
2月 19, 2023
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #20044 from taosdata/szhou/fixbugs26
fix: reset prevValues of SFillInfo so that new group can use it as prev value
上级
2fe2bdce
e98f7486
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
18 addition
and
2 deletion
+18
-2
src/query/src/qFill.c
src/query/src/qFill.c
+2
-0
tests/parallel_test/cases.task
tests/parallel_test/cases.task
+1
-1
tests/script/general/parser/fill_stb.sim
tests/script/general/parser/fill_stb.sim
+15
-1
未找到文件。
src/query/src/qFill.c
浏览文件 @
2c25f8c4
...
...
@@ -399,6 +399,8 @@ void taosResetFillInfo(SFillInfo* pFillInfo, TSKEY startTimestamp) {
pFillInfo
->
numOfRows
=
0
;
pFillInfo
->
numOfCurrent
=
0
;
pFillInfo
->
numOfTotal
=
0
;
//free prevValues so that the new group has no prevValues then fill(linear) of new group won't use old group values.
tfree
(
pFillInfo
->
prevValues
);
}
void
*
taosDestroyFillInfo
(
SFillInfo
*
pFillInfo
)
{
...
...
tests/parallel_test/cases.task
浏览文件 @
2c25f8c4
...
...
@@ -4,7 +4,7 @@
290,,pytest,python3 test.py -f update/merge_commit_data.py
241,,pytest,python3 test.py -f update/merge_commit_data2.py
224,,pytest,python3 test.py -f query/queryNullValueTest.py
221,,pytest,python3 test.py -f query/nestedQuery/nestedQuery.py
#
221,,pytest,python3 test.py -f query/nestedQuery/nestedQuery.py
220,,pytest,python3 test.py -f update/merge_commit_data2_update0.py
208,,pytest,python3 test.py -f update/merge_commit_last.py
203,,pytest,python3 test.py -f update/merge_commit_last-0.py
...
...
tests/script/general/parser/fill_stb.sim
浏览文件 @
2c25f8c4
...
...
@@ -430,6 +430,20 @@ if $data69 != 6 then
return -1
endi
## TD-2679
print ============== td2679
sql create database td2679
sql use td2679
sql create table st(ts timestamp, f int) tags (t int)
$ts = 1676768465000
sql insert into ct1 using st tags(1) values($ts , null)($ts + 1s, 1)($ts + 2s, null)
sql insert into ct2 using st tags(2) values($ts + 3s, null)($ts + 4s, 4)($ts + 5s, null)
sql select max(f) from st where ts>='2023-02-19 09:01:04.000' and ts <= '2023-02-19 09:01:10.000' interval(1s) fill(linear) group by tbname;
print $rows , $data60 , $data61 , $data70 , $data71
if $data71 != NULL then
return -1
endi
sql drop database td2679
print =============== clear
sql drop database $db
sql show databases
...
...
@@ -437,4 +451,4 @@ if $rows != 0 then
return -1
endi
system sh/exec.sh -n dnode1 -s stop -x SIGINT
\ No newline at end of file
system sh/exec.sh -n dnode1 -s stop -x SIGINT
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录