From 6c9b2bf6961bf283772a5c30cd0e2fb3e08ebc58 Mon Sep 17 00:00:00 2001 From: liuyq-617 Date: Mon, 4 Jan 2021 19:20:19 +0800 Subject: [PATCH] [TD-2607] add test case --- tests/pytest/functions/function_first.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/pytest/functions/function_first.py b/tests/pytest/functions/function_first.py index 2b78bd33d8..8c08a87ace 100644 --- a/tests/pytest/functions/function_first.py +++ b/tests/pytest/functions/function_first.py @@ -110,6 +110,9 @@ class TDTestCase: tdSql.query("select first(col9) from test1") tdSql.checkRows(1) tdSql.checkData(0, 0, '涛思数据1') + # TD-2607 first,last + where none exist condition + interval + tdSql.query("select first(*),last(*) from test1 where ts < 23 interval(1s)") + tdSql.checkRows(0) def stop(self): tdSql.close() -- GitLab