From e56836086a8567da954019d68d0336854ce09737 Mon Sep 17 00:00:00 2001 From: Ganlin Zhao Date: Tue, 15 Mar 2022 19:17:56 +0800 Subject: [PATCH] Merge branch 'develop' into feature/TD-13970 --- tests/develop-test/2-query/ts_shortcut.py | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/tests/develop-test/2-query/ts_shortcut.py b/tests/develop-test/2-query/ts_shortcut.py index fa1af037ff..85a4379cc6 100644 --- a/tests/develop-test/2-query/ts_shortcut.py +++ b/tests/develop-test/2-query/ts_shortcut.py @@ -82,19 +82,6 @@ class TDTestCase: res = tdSql.getData(0, 0) tdSql.checkEqual(str(res), "2020-02-02 00:00:00") - #TIME RELATED functions - tdSql.query('select to_unixtimestamp("2020-02-02") from tb') - tdSql.checkRows(1) - tdSql.checkData(0, 0, 1580572800000) - - tdSql.query('select timetruncate("2020-02-02", 1h) from tb;') - tdSql.checkRows(1) - res = tdSql.getData(0, 0) - tdSql.checkEqual(str(res), "2020-02-02 00:00:00") - - tdSql.query('select timediff("2020-02-02", "2020-02-03", 1h) from tb;') - tdSql.checkRows(1) - tdSql.checkData(0, 0, 24) tdSql.execute('drop database db') -- GitLab