From 1c4e7f2774b6df623198dd67aabce0f323011a14 Mon Sep 17 00:00:00 2001 From: liuyq-617 Date: Wed, 1 Dec 2021 14:55:53 +0800 Subject: [PATCH] update --- tests/pytest/query/querySort.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/pytest/query/querySort.py b/tests/pytest/query/querySort.py index a7782483e2..a50b9cbf8a 100644 --- a/tests/pytest/query/querySort.py +++ b/tests/pytest/query/querySort.py @@ -146,9 +146,9 @@ class TDTestCase: pick_func=j+'('+ k + str(i) +',1)' else: pick_func=j+'('+ k + str(i) +')' - sql = 'select %s from st group by %s' % (pick_func , k+str(i)) + sql = 'select %s from st group by %s order by %s' % (pick_func , k+str(i), k+str(i)) tdSql.error(sql) - sql = 'select %s from st6 group by %s' % (pick_func , k+str(i)) + sql = 'select %s from st6 group by %s order by %s ' % (pick_func , k+str(i), k+str(i)) tdSql.error(sql) tdSql.query("select top(tbcol1, 2) from st1 group by tbcol2 order by tbcol2") -- GitLab