提交 2a30e5b5 编写于 作者: P Ping Xiao

[TD-6312]<test>: add test case for last_row query in table with 100 columns

上级 8c28632b
...@@ -25,7 +25,7 @@ class TDTestCase: ...@@ -25,7 +25,7 @@ class TDTestCase:
self.tables = 10 self.tables = 10
self.rows = 20 self.rows = 20
self.columns = 5 self.columns = 100
self.perfix = 't' self.perfix = 't'
self.ts = 1601481600000 self.ts = 1601481600000
...@@ -33,8 +33,8 @@ class TDTestCase: ...@@ -33,8 +33,8 @@ class TDTestCase:
print("==============step1") print("==============step1")
sql = "create table st(ts timestamp, " sql = "create table st(ts timestamp, "
for i in range(self.columns - 1): for i in range(self.columns - 1):
sql += "c%d int, " % (i + 1) sql += "c%d bigint, " % (i + 1)
sql += "c5 int) tags(t1 int)" sql += "c100 bigint) tags(t1 int)"
tdSql.execute(sql) tdSql.execute(sql)
for i in range(self.tables): for i in range(self.tables):
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册