From 17e2cd959e84ce2bf479f13aa9e0569a1259b44a Mon Sep 17 00:00:00 2001 From: cpwu Date: Wed, 27 Apr 2022 17:04:25 +0800 Subject: [PATCH] fix case --- tests/system-test/2-query/join.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/system-test/2-query/join.py b/tests/system-test/2-query/join.py index e2dadbb5a6..740dbff6f4 100644 --- a/tests/system-test/2-query/join.py +++ b/tests/system-test/2-query/join.py @@ -146,7 +146,7 @@ class TDTestCase: tdSql.execute(f'create table ct{i+1} using stb1 tags ( {i+1} )') def __insert_data(self, rows): - now_time = datetime.datetime.timestamp(datetime.datetime.now()) * 1000 + now_time = int(datetime.datetime.timestamp(datetime.datetime.now()) * 1000) for i in range(rows): tdSql.execute( f"insert into ct1 values ( { now_time - i * 1000 }, {i}, {11111*i}, {111*i}, {11*i}, {1.11*i}, {11.11*i}, {i%2}, 'binary{i}', 'nchar{i}', { now_time + 1 * i } )" -- GitLab