fix: select ins_columns from stb/ctb
This commit is contained in:
parent
ed3fc6bdf1
commit
bfa7eabff6
|
@ -114,6 +114,10 @@ class TDTestCase:
|
|||
tdSql.execute("create table db2.ctb_%d_%dc using db2.stb%d tags(%d)" %(i,k,i,k))
|
||||
tdSql.query(f'select * from information_schema.ins_columns where db_name="db2" and table_type=="SUPER_TABLE"')
|
||||
tdSql.checkEqual(20465,len(tdSql.queryResult))
|
||||
tdSql.query(f'select * from information_schema.ins_columns where db_name="db2" and table_type=="SUPER_TABLE"')
|
||||
tdSql.checkEqual(20465,len(tdSql.queryResult))
|
||||
tdSql.query(f'select * from information_schema.ins_columns where db_name="db2" and table_type=="CHILD_TABLE"')
|
||||
tdSql.checkEqual(204650,len(tdSql.queryResult))
|
||||
tdSql.query(f'select * from information_schema.ins_columns where db_name="db2" and table_type=="CHILD_TABLE"')
|
||||
tdSql.checkEqual(204650,len(tdSql.queryResult))
|
||||
|
||||
|
@ -125,6 +129,8 @@ class TDTestCase:
|
|||
tdSql.execute(self.ntb4096)
|
||||
tdSql.query(f'select * from information_schema.ins_columns where db_name="db2" and table_type=="NORMAL_TABLE"')
|
||||
tdSql.checkEqual(20470,len(tdSql.queryResult))
|
||||
tdSql.query(f'select * from information_schema.ins_columns where db_name="db2" and table_type=="NORMAL_TABLE"')
|
||||
tdSql.checkEqual(20470,len(tdSql.queryResult))
|
||||
|
||||
def run(self):
|
||||
self.prepare_data()
|
||||
|
|
Loading…
Reference in New Issue