提交 2bcaac33 编写于 作者: H Haojun Liao

[TD-225] update sim.

上级 9fba096e
...@@ -117,16 +117,17 @@ run general/parser/col_arithmetic_query.sim ...@@ -117,16 +117,17 @@ run general/parser/col_arithmetic_query.sim
# ================================================================================================ # ================================================================================================
print ====================> crash print ====================> crash
# sql select spread(ts )/(1000*3600*24) from ca_stb0 interval(1y) sql use $db
sql select spread(ts )/(1000*3600*24) from $stb interval(1y)
sql_error select first(c1, c2) - last(c1, c2) from stb interval(1y)
sql_error select first(ts) - last(ts) from stb interval(1y) sql_error select first(c1, c2) - last(c1, c2) from $stb interval(1y)
sql_error select top(c1, 2) - last(c1) from stb; sql_error select first(ts) - last(ts) from $stb interval(1y)
sql_error select stddev(c1) - last(c1) from stb; sql_error select top(c1, 2) - last(c1) from $stb;
sql_error select diff(c1) - last(c1) from stb; sql_error select stddev(c1) - last(c1) from $stb;
sql_error select first(c7) - last(c7) from stb; sql_error select diff(c1) - last(c1) from $stb;
sql_error select first(c8) - last(c8) from stb; sql_error select first(c7) - last(c7) from $stb;
sql_error select first(c9) - last(c9) from stb; sql_error select first(c8) - last(c8) from $stb;
sql_error select first(c9) - last(c9) from $stb;
sql_error select max(c2*2) from $tb sql_error select max(c2*2) from $tb
sql_error select max(c1-c2) from $tb sql_error select max(c1-c2) from $tb
......
...@@ -144,7 +144,7 @@ if $data10 != 16.000000000 then ...@@ -144,7 +144,7 @@ if $data10 != 16.000000000 then
endi endi
if $data20 != 20.250000000 then if $data20 != 20.250000000 then
print expect 20.250000000, acutal:$data21 print expect 20.250000000, actual:$data21
return -1 return -1
endi endi
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册