fix: taosdumpCompa.py reduce test data compatible to 36k with 2 table 2000 rows
This commit is contained in:
parent
c70724eed5
commit
48f063ae2c
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -1,10 +0,0 @@
|
|||
#!server_ver: ver:3.1.0.0
|
||||
#!taosdump_ver: 2.5.2_cf16c4d
|
||||
#!os_id: LINUX
|
||||
#!escape_char: true
|
||||
#!loose_mode: false
|
||||
#!charset: UTF-8
|
||||
CREATE DATABASE IF NOT EXISTS test REPLICA 1 DURATION 14400m KEEP 5256000m,5256000m,5256000m PRECISION 'ms' MINROWS 100 MAXROWS 4096 COMP 2 ;
|
||||
|
||||
CREATE TABLE IF NOT EXISTS test.`meters`(`ts` timestamp,`current` float,`voltage` int,`phase` float) TAGS(`groupid` int,`location` binary(24));
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -71,9 +71,9 @@ class TDTestCase(TBase):
|
|||
|
||||
# compare sum(pk)
|
||||
stb = "meters"
|
||||
self.checkSame(db, stb, "count(ts)", 100000)
|
||||
self.checkSame(db, stb, "sum(current)", 1005767.2491703)
|
||||
self.checkSame(db, stb, "avg(voltage)", 208.58818)
|
||||
self.checkSame(db, stb, "count(ts)", 2000)
|
||||
self.checkSame(db, stb, "sum(current)", 20241.627464294433594)
|
||||
self.checkSame(db, stb, "avg(voltage)", 209.538000000000011)
|
||||
|
||||
def run(self):
|
||||
# database
|
||||
|
|
Loading…
Reference in New Issue