diff --git a/tests/system-test/1-insert/alter_table.py b/tests/system-test/1-insert/alter_table.py index ec3e771cbd9df8dcb1ccb0a47f842f9c1c2d509d..3c17d9525ed162231b631cc00396af6a8f7daf0c 100644 --- a/tests/system-test/1-insert/alter_table.py +++ b/tests/system-test/1-insert/alter_table.py @@ -90,13 +90,13 @@ class TDTestCase: tdSql.checkData(0,15,tag_nchar) # bug TD-16211 insert length more than setting binary and nchar - # tag_binary = self.get_long_name(length=21, mode="letters") - # tag_nchar = self.get_long_name(length=21, mode="letters") - # tdSql.error(f'alter table {dbname}.{tbname} set tag t12 = "{tag_binary}"') - # tdSql.error(f'alter table {dbname}.{tbname} set tag t13 = "{tag_nchar}"') + tag_binary = self.get_long_name(length=21, mode="letters") + tag_nchar = self.get_long_name(length=21, mode="letters") + tdSql.error(f'alter table {dbname}.{tbname} set tag t12 = "{tag_binary}"') + tdSql.error(f'alter table {dbname}.{tbname} set tag t13 = "{tag_nchar}"') # bug TD-16210 modify binary to nchar - # tdSql.error(f'alter table {dbname}.{tbname} modify tag t12 nchar(10)') + tdSql.error(f'alter table {dbname}.{tbname} modify tag t12 nchar(10)') tdSql.execute(f"drop database {dbname}") def alter_ntb_column_check(self): ''' diff --git a/tests/system-test/2-query/bottom.py b/tests/system-test/2-query/bottom.py index 5620975ef2a90ffe47c1d06cdc24f48a1266d288..3c82dd4128c2376065b2479bd282c2713558d993 100644 --- a/tests/system-test/2-query/bottom.py +++ b/tests/system-test/2-query/bottom.py @@ -46,10 +46,10 @@ class TDTestCase: tdSql.error(f'select bottom({i},{j}) from stb_1') for i in error_column_list: tdSql.error(f'select bottom({i},10) from stb_1') - # tdSql.query("select ts,bottom(col1, 2),ts from stb_1 group by tbname") - # tdSql.checkRows(2) - # tdSql.query('select bottom(col2,1) from stb_1 interval(1y) order by col2') - # tdSql.checkData(0,0,1) + tdSql.query("select ts,bottom(col1, 2),ts from stb_1 group by tbname") + tdSql.checkRows(2) + tdSql.query('select bottom(col2,1) from stb_1 interval(1y) order by col2') + tdSql.checkData(0,0,1) tdSql.error('select * from stb_1 where bottom(col2,1)=1')