diff --git a/tests/system-test/2-query/hyperloglog.py b/tests/system-test/2-query/hyperloglog.py index 326e847af5ae92bb9d6ea340866f4edee5fe5247..6c4413bd0f54d3bf26b4a2b3c3163d62542b65cf 100644 --- a/tests/system-test/2-query/hyperloglog.py +++ b/tests/system-test/2-query/hyperloglog.py @@ -212,7 +212,7 @@ class TDTestCase: tdSql.checkData(0, 0, self.rows + 2) tdSql.query("select hyperloglog(c1), c1 from stb1 group by c1") for i in range(tdSql.queryRows): - tdSql.checkData(i, 0, 1) if tdSql.queryResult[i][1] is None else tdSql.checkData(i, 0, 0) + tdSql.checkData(i, 0, 1) if tdSql.queryResult[i][1] is not None else tdSql.checkData(i, 0, 0)