From 7879ca6ababf580525c4b1385c604d44f40039ac Mon Sep 17 00:00:00 2001 From: liuyq-617 Date: Mon, 15 Mar 2021 09:52:19 +0800 Subject: [PATCH] [TD-3223]case for stddev on the same column --- tests/pytest/functions/function_stddev.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/pytest/functions/function_stddev.py b/tests/pytest/functions/function_stddev.py index 6e4ee69422..afc59ac83d 100644 --- a/tests/pytest/functions/function_stddev.py +++ b/tests/pytest/functions/function_stddev.py @@ -113,6 +113,12 @@ class TDTestCase: for i in range(13): tdSql.query('select stddev(c4) from s group by t%s' % str(i+1) ) + #add for td-3223 + for i in range(13): + if i == 1 or i == 5 or i == 6 or i == 7 or i == 9 or i == 8 :continue + tdSql.query('select stddev(c%d),stddev(c%d) from s group by c%d' %( i+1 , i+1 , i+1 ) ) + + def stop(self): -- GitLab