From eb9000bc73aaa8c443cf2f34bf3cd715e28edf67 Mon Sep 17 00:00:00 2001 From: shenglian zhou Date: Thu, 13 Jan 2022 13:50:40 +0800 Subject: [PATCH] (query):elapsed can be used in stream query --- tests/pytest/functions/function_elapsed_case.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/pytest/functions/function_elapsed_case.py b/tests/pytest/functions/function_elapsed_case.py index 025354f2c3..02411a2002 100644 --- a/tests/pytest/functions/function_elapsed_case.py +++ b/tests/pytest/functions/function_elapsed_case.py @@ -322,8 +322,8 @@ class ElapsedCase: if (self.restart): tdSql.execute("drop table elapsed_t") tdSql.execute("drop table elapsed_st") - tdSql.execute("create table elapsed_t as select elapsed(ts) from t1 interval(1m) sliding(30s)") - tdSql.execute("create table elapsed_st as select elapsed(ts) from st1 interval(1m) sliding(30s) group by tbname") + tdSql.error("create table elapsed_t as select elapsed(ts) from t1 interval(1m) sliding(30s)") + tdSql.error("create table elapsed_st as select elapsed(ts) from st1 interval(1m) sliding(30s) group by tbname") def selectIllegalTest(self): tdSql.execute("use wxy_db") -- GitLab