[TD-6312]<test>: add test case for last_row query in table with 100 columns
This commit is contained in:
parent
8c28632b8b
commit
2a30e5b57e
|
@ -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:
|
||||||
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):
|
||||||
|
|
Loading…
Reference in New Issue