提交 b5aa25b9 编写于 作者: W wenzhouwww

[TD-5621]<test> this is test case about modify tags !

上级 a57ec6cb
...@@ -108,7 +108,7 @@ class TDTestCase: ...@@ -108,7 +108,7 @@ class TDTestCase:
tdSql.error(sql3) tdSql.error(sql3)
tdSql.execute("alter stable stt modify tag tg1 binary(16337)") tdSql.execute("alter stable stt modify tag tg1 binary(16337)")
tdSql.execute(sql3) tdSql.execute(sql3)
res = tdSql.getResult(sql3) res = tdSql.getResult("select tg1,tg2,tg3 from tt")
if res == [(tags, 'tg2', 'tg3')]: if res == [(tags, 'tg2', 'tg3')]:
tdLog.info(" alter tag check has pass!") tdLog.info(" alter tag check has pass!")
else: else:
...@@ -122,4 +122,4 @@ class TDTestCase: ...@@ -122,4 +122,4 @@ class TDTestCase:
tdCases.addWindows(__file__, TDTestCase()) tdCases.addWindows(__file__, TDTestCase())
tdCases.addLinux(__file__, TDTestCase()) tdCases.addLinux(__file__, TDTestCase())
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册