From e2eadb6ede740b0659b47035abb076243f9cbc29 Mon Sep 17 00:00:00 2001 From: zhaoyanggh Date: Thu, 12 Aug 2021 19:51:32 +0800 Subject: [PATCH] [TD-6038]query with in combined with and filter --- tests/pytest/query/in.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/tests/pytest/query/in.py b/tests/pytest/query/in.py index 8644b74a45..e388dfbc6a 100644 --- a/tests/pytest/query/in.py +++ b/tests/pytest/query/in.py @@ -152,7 +152,13 @@ class TDTestCase: #tdSql.query("select * from tb") #tdSql.checkRows(1) - + # For jira: https://jira.taosdata.com:18080/browse/TD-6038 + tdSql.query('select count(ts) from db.tb where c1 = 0 and c3 in ("nchar0")') + tdSql.checkRows(1) + tdSql.checkData(0, 0, 1) + + tdSql.query('select * from db.tb where c1 = 2 and c3 in ("nchar0")') + tdSql.checkRows(0) def stop(self): tdSql.close()