Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
慢慢CG
TDengine
提交
f4c52651
T
TDengine
项目概览
慢慢CG
/
TDengine
与 Fork 源项目一致
Fork自
taosdata / TDengine
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
T
TDengine
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
f4c52651
编写于
6月 18, 2020
作者:
H
Haojun Liao
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[td-225] update the test script.
上级
5dc2c5cd
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
60 addition
and
64 deletion
+60
-64
src/inc/taosdef.h
src/inc/taosdef.h
+2
-2
tests/script/general/parser/alter.sim
tests/script/general/parser/alter.sim
+40
-40
tests/script/general/parser/testSuite.sim
tests/script/general/parser/testSuite.sim
+7
-11
tests/script/jenkins/basic.txt
tests/script/jenkins/basic.txt
+11
-11
未找到文件。
src/inc/taosdef.h
浏览文件 @
f4c52651
...
...
@@ -209,8 +209,8 @@ void tsDataSwap(void *pLeft, void *pRight, int32_t type, int32_t size);
#define TSDB_MAX_SQL_SHOW_LEN 256
#define TSDB_MAX_ALLOWED_SQL_LEN (8*1024*1024U) // sql length should be less than 8mb
#define TSDB_MAX_BYTES_PER_ROW
65535
#define TSDB_MAX_TAGS_LEN
65535
#define TSDB_MAX_BYTES_PER_ROW
16384
#define TSDB_MAX_TAGS_LEN
16384
#define TSDB_MAX_TAGS 128
#define TSDB_AUTH_LEN 16
...
...
tests/script/general/parser/alter.sim
浏览文件 @
f4c52651
...
...
@@ -114,46 +114,46 @@ sql drop table tb
sql drop table mt
sleep 3000
## ALTER TABLE WHILE STREAMING [TBASE271]
sql create table tb1 (ts timestamp, c1 int, c2 nchar(5), c3 int)
sql create table strm as select count(*), avg(c1), first(c2), sum(c3) from tb1 interval(2s)
sql select * from strm
if $rows != 0 then
return -1
endi
#sleep 12000
sql insert into tb1 values (now, 1, 'taos', 1)
sleep 20000
sql select * from strm
print rows = $rows
if $rows != 1 then
return -1
endi
if $data04 != 1 then
return -1
endi
sql alter table tb1 drop column c3
sleep 6000
sql insert into tb1 values (now, 2, 'taos')
sleep 30000
sql select * from strm
if $rows != 2 then
return -1
endi
if $data04 != 1 then
return -1
endi
sql alter table tb1 add column c3 int
sleep 6000
sql insert into tb1 values (now, 3, 'taos', 3);
sleep 3000
sql select * from strm
if $rows != 3 then
return -1
endi
if $data04 != 1 then
return -1
endi
##
#
ALTER TABLE WHILE STREAMING [TBASE271]
#
sql create table tb1 (ts timestamp, c1 int, c2 nchar(5), c3 int)
#
sql create table strm as select count(*), avg(c1), first(c2), sum(c3) from tb1 interval(2s)
#
sql select * from strm
#
if $rows != 0 then
#
return -1
#
endi
#
#
sleep 12000
#
sql insert into tb1 values (now, 1, 'taos', 1)
#
sleep 20000
#
sql select * from strm
#
print rows = $rows
#
if $rows != 1 then
#
return -1
#
endi
#
if $data04 != 1 then
#
return -1
#
endi
#sql alter table tb1 drop column c3
#
sleep 6000
#
sql insert into tb1 values (now, 2, 'taos')
#
sleep 30000
#
sql select * from strm
#
if $rows != 2 then
#
return -1
#
endi
#
if $data04 != 1 then
#
return -1
#
endi
#
sql alter table tb1 add column c3 int
#
sleep 6000
#
sql insert into tb1 values (now, 3, 'taos', 3);
#
sleep 3000
#
sql select * from strm
#
if $rows != 3 then
#
return -1
#
endi
#
if $data04 != 1 then
#
return -1
#
endi
## ALTER TABLE AND INSERT BY COLUMNS
sql create table mt (ts timestamp, c1 int, c2 int) tags(t1 int)
...
...
tests/script/general/parser/testSuite.sim
浏览文件 @
f4c52651
...
...
@@ -82,26 +82,22 @@ sleep 2000
run general/parser/groupby.sim
sleep 2000
run general/parser/set_tag_vals.sim
sleep 2000
run general/parser/slimit_alter_tags.sim # persistent failed
sleep 2000
run general/parser/join.sim
sleep 2000
run general/parser/join_multivnode.sim
sleep 2000
#run general/parser/repeatAlter.sim
sleep 2000
#run general/parser/repeatStream.sim
run general/parser/repeatAlter.sim
sleep 2000
run general/parser/binary_escapeCharacter.sim
sleep 2000
run general/parser/bug.sim
sleep 2000
run general/parser/stream_on_sys.sim
sleep 2000
run general/parser/stream.sim
\ No newline at end of file
#sleep 2000
#run general/parser/repeatStream.sim
#sleep 2000
#run general/parser/stream_on_sys.sim
#sleep 2000
#run general/parser/stream.sim
\ No newline at end of file
tests/script/jenkins/basic.txt
浏览文件 @
f4c52651
...
...
@@ -100,9 +100,9 @@ cd ../../../debug; make
./test.sh -f general/insert/query_multi_file.sim
./test.sh -f general/insert/tcp.sim
#unsupport
./test.sh -f general/parser/alter.sim
#unsupport
./test.sh -f general/parser/alter1.sim
#unsupport
./test.sh -f general/parser/alter_stable.sim
./test.sh -f general/parser/alter.sim
./test.sh -f general/parser/alter1.sim
./test.sh -f general/parser/alter_stable.sim
./test.sh -f general/parser/auto_create_tb.sim
./test.sh -f general/parser/auto_create_tb_drop_tb.sim
./test.sh -f general/parser/col_arithmetic_operation.sim
...
...
@@ -139,15 +139,15 @@ cd ../../../debug; make
./test.sh -f general/parser/fill_stb.sim
./test.sh -f general/parser/interp.sim
./test.sh -f general/parser/where.sim
#unsupport
./test.sh -f general/parser/join.sim
#unsupport
./test.sh -f general/parser/join_multivnode.sim
./test.sh -f general/parser/join.sim
./test.sh -f general/parser/join_multivnode.sim
./test.sh -f general/parser/select_with_tags.sim
#unsupport
./test.sh -f general/parser/groupby.sim
#unsupport
./test.sh -f general/parser/bug.sim
#unsupport
./test.sh -f general/parser/tags_dynamically_specifiy.sim
#unsupport
./test.sh -f general/parser/set_tag_vals.sim
#unsupport ./test.sh -f general/parser/repeatAlter
.sim
#unsupport ./test.sh -f general/parser/slimit_alter_tags
.sim
./test.sh -f general/parser/groupby.sim
./test.sh -f general/parser/bug.sim
./test.sh -f general/parser/tags_dynamically_specifiy.sim
./test.sh -f general/parser/set_tag_vals.sim
./test.sh -f general/parser/slimit_alter_tags
.sim
./test.sh -f general/parser/repeatAlter
.sim
#unsupport ./test.sh -f general/parser/stream_on_sys.sim
#unsupport ./test.sh -f general/parser/stream.sim
#unsupport ./test.sh -f general/parser/repeatStream.sim
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录