From ce403205318bc7c83ad93da3069d65c5fa561ff8 Mon Sep 17 00:00:00 2001 From: Shuduo Sang Date: Fri, 17 Jul 2020 14:26:34 +0800 Subject: [PATCH] add code to query tag before set. [TD-951] --- tests/pytest/tag_lite/add.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/pytest/tag_lite/add.py b/tests/pytest/tag_lite/add.py index b23ff350c3..49e2f8ab69 100644 --- a/tests/pytest/tag_lite/add.py +++ b/tests/pytest/tag_lite/add.py @@ -100,6 +100,8 @@ class TDTestCase: # TSIM: sql alter table $mt add tag tgcol4 int tdLog.info('alter table %s add tag tgcol4 int' % (mt)) tdSql.execute('alter table %s add tag tgcol4 int' % (mt)) + tdLog.info('select * from %s where tgcol4=6' % (mt)) + tdSql.query('select * from %s where tgcol4=6' % (mt)) # TSIM: sql reset query cache tdLog.info('reset query cache') tdSql.execute('reset query cache') -- GitLab