[TD-6317]<fix> fix test case

This commit is contained in:
yihaoDeng 2021-08-25 12:42:36 +08:00
parent 8058f91f31
commit 8da97ddfbb
1 changed files with 4 additions and 4 deletions

View File

@ -697,10 +697,10 @@ class TDTestCase:
tdSql.checkRows(tbnum*3)
tdSql.query(f"select distinct c1 c2, c2 c3 from t1 where c1 <{tbnum}")
tdSql.checkRows(3)
tdSql.query("select distinct c1, c2 from stb1 order by ts")
tdSql.checkRows(tbnum*3+1)
tdSql.query("select distinct c1, c2 from t1 order by ts")
tdSql.checkRows(4)
tdSql.error("select distinct c1, c2 from stb1 order by ts")
#tdSql.checkRows(tbnum*3+1)
tdSql.error("select distinct c1, c2 from t1 order by ts")
#tdSql.checkRows(4)
tdSql.error("select distinct c1, ts from stb1 group by c2")
tdSql.error("select distinct c1, ts from t1 group by c2")
tdSql.error("select distinct c1, max(c2) from stb1 ")