diff --git a/tests/pytest/stable/json_tag.py b/tests/pytest/stable/json_tag.py index 977ba43e4340c6c3540de2fe15d9578f9b537aa8..0b669b548cac9a9be5c8486769469aa45b499e6a 100644 --- a/tests/pytest/stable/json_tag.py +++ b/tests/pytest/stable/json_tag.py @@ -108,7 +108,7 @@ class TDTestCase: tdSql.checkRows(3) tdSql.query("select *,tbname from db_json_tag_test.jsons1 where jtag->'location'='beijing'") - tdSql.checkRows(3) + tdSql.checkRows(2) tdSql.query("select *,tbname from db_json_tag_test.jsons1 where jtag->'num'=5 or jtag?'sex'") tdSql.checkRows(2) @@ -139,8 +139,8 @@ class TDTestCase: tdSql.query("select *,tbname from db_json_tag_test.jsons1 where jtag->'location' like 'bei%' and jtag->'num'=34") tdSql.checkRows(1) - tdSql.query("select *,tbname from db_json_tag_test.jsons1 where (jtag->'location' like 'bei%' or jtag->'num'=34)) and jtag->'class'=55") - tdSql.checkRows(1) + tdSql.query("select *,tbname from db_json_tag_test.jsons1 where (jtag->'location' like 'bei%' or jtag->'num'=34) and jtag->'class'=55") + tdSql.checkRows(0) def stop(self):