diff --git a/tests/system-test/2-query/sum.py b/tests/system-test/2-query/sum.py index 85559ba5dde235403d2b39b4f2c858230f306e61..91f3295e9f01cfb57f78c782236348069159cda0 100644 --- a/tests/system-test/2-query/sum.py +++ b/tests/system-test/2-query/sum.py @@ -73,8 +73,6 @@ class TDTestCase: {BINARY_COL} binary(16), {NCHAR_COL} nchar(32), {TS_COL} timestamp ) ''' - print(create_stb_sql) - print(create_ntb_sql) tdSql.execute(create_stb_sql) tdSql.execute(create_ntb_sql) @@ -132,12 +130,11 @@ class TDTestCase: ) for i in range(rows): - tdSql.execute( - f'''insert into t1 values + insert_data = f'''insert into t1 values ( now()-{i}h, {i}, {i}, { i % 32767 }, { i % 127}, { i * 1.11111 }, { i * 1000.1111 }, { i % 2}, "binary_{i}", "nchar_{i}", now-{i}s ) ''' - ) + tdSql.execute(insert_data) tdSql.execute( f'''insert into t1 values ( now() + 3h, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL )