mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-25 17:12:03 +00:00
fixes
This commit is contained in:
parent
41addf9173
commit
5b3a106f7a
@ -33,15 +33,15 @@
|
||||
<substitution>
|
||||
<name>numbers_small</name>
|
||||
<values>
|
||||
<value>numbers(10000)</value>
|
||||
<value>numbers_mt(100000)</value>
|
||||
<value>numbers(100000)</value>
|
||||
<value>numbers_mt(1000000)</value>
|
||||
</values>
|
||||
</substitution>
|
||||
<substitution>
|
||||
<name>numbers_medium</name>
|
||||
<values>
|
||||
<value>numbers(100000)</value>
|
||||
<value>numbers_mt(1000000)</value>
|
||||
<value>numbers(1000000)</value>
|
||||
<value>numbers_mt(10000000)</value>
|
||||
</values>
|
||||
</substitution>
|
||||
<substitution>
|
||||
|
@ -1,6 +1,6 @@
|
||||
<test>
|
||||
<create_query>CREATE TABLE t (x UInt64, d32 Decimal32(3), d64 Decimal64(4), d128 Decimal128(5)) ENGINE = Memory</create_query>
|
||||
<fill_query>INSERT INTO t SELECT number AS x, x % 1000000 AS d32, x AS d64, x d128 FROM numbers_mt(100000000)</fill_query>
|
||||
<fill_query>INSERT INTO t SELECT number AS x, x % 1000000 AS d32, x AS d64, x d128 FROM numbers_mt(1000000000)</fill_query>
|
||||
<drop_query>DROP TABLE IF EXISTS t</drop_query>
|
||||
|
||||
<query>SELECT min(d32), max(d32), argMin(x, d32), argMax(x, d32) FROM t</query>
|
||||
|
@ -19,8 +19,8 @@
|
||||
<create_query>CREATE TABLE mt_20_parts(id UInt32, val1 UInt32, val2 UInt32) ENGINE = MergeTree ORDER BY val1 PARTITION BY id % 20</create_query>
|
||||
<create_query>CREATE TABLE mt_200_parts(id UInt32, val1 UInt32, val2 UInt32) ENGINE = MergeTree ORDER BY val1 PARTITION BY id % 200</create_query>
|
||||
|
||||
<fill_query>INSERT INTO mt_20_parts SELECT number, rand() % 10000, rand() FROM numbers_mt(100000000)</fill_query>
|
||||
<fill_query>INSERT INTO mt_200_parts SELECT number, rand() % 10000, rand() FROM numbers_mt(100000000)</fill_query>
|
||||
<fill_query>INSERT INTO mt_20_parts SELECT number, rand() % 10000, rand() FROM numbers_mt(1000000000)</fill_query>
|
||||
<fill_query>INSERT INTO mt_200_parts SELECT number, rand() % 10000, rand() FROM numbers_mt(1000000000)</fill_query>
|
||||
<fill_query>OPTIMIZE TABLE mt_20_parts FINAL</fill_query>
|
||||
<fill_query>OPTIMIZE TABLE mt_200_parts FINAL</fill_query>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user