提交 a95baab6 编写于 作者: J jiacy-jcy

update

上级 f810cdcf
......@@ -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):
'''
......
......@@ -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')
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册