Merge pull request #27061 from taosdata/test/TS-4236-case

add test case for TS-4236
This commit is contained in:
Alex Duan 2024-08-08 09:14:35 +08:00 committed by GitHub
commit 3517bf8d7f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 0 deletions

View File

@ -195,6 +195,10 @@ class TDTestCase:
tdSql.checkData(1, 4, 2)
tdSql.checkData(2, 4, 9)
tdSql.checkData(3, 4, 9)
sql = "SELECT _wstart, last(c1) FROM t6 INTERVAL(1w);"
tdSql.query(sql)
tdSql.checkRows(11)
def test_partition_by_limit_no_agg(self):
sql_template = 'select t1 from meters partition by t1 limit %d'