mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 07:31:57 +00:00
fixes
This commit is contained in:
parent
deaba9f722
commit
4bb40da52e
@ -20,7 +20,7 @@
|
|||||||
INSERT INTO perf_avg(num)
|
INSERT INTO perf_avg(num)
|
||||||
SELECT toUInt64(UserID / (WatchID + 1) * 1000000)
|
SELECT toUInt64(UserID / (WatchID + 1) * 1000000)
|
||||||
FROM hits_100m_single
|
FROM hits_100m_single
|
||||||
LIMIT 100000000
|
LIMIT 50000000
|
||||||
</fill_query>
|
</fill_query>
|
||||||
|
|
||||||
<fill_query>optimize table perf_avg final</fill_query>
|
<fill_query>optimize table perf_avg final</fill_query>
|
||||||
|
@ -65,16 +65,16 @@
|
|||||||
LAYOUT(COMPLEX_KEY_DIRECT())
|
LAYOUT(COMPLEX_KEY_DIRECT())
|
||||||
</create_query>
|
</create_query>
|
||||||
|
|
||||||
<query>SELECT dictGet('default.simple_direct_dictionary', 'value_int', number) FROM system.numbers LIMIT 500000;</query>
|
<query>SELECT dictGet('default.simple_direct_dictionary', 'value_int', number) FROM system.numbers LIMIT 300000;</query>
|
||||||
<query>SELECT dictGet('default.simple_direct_dictionary', 'value_string', number) FROM system.numbers LIMIT 500000;</query>
|
<query>SELECT dictGet('default.simple_direct_dictionary', 'value_string', number) FROM system.numbers LIMIT 300000;</query>
|
||||||
<query>SELECT dictGet('default.simple_direct_dictionary', 'value_decimal', number) FROM system.numbers LIMIT 500000;</query>
|
<query>SELECT dictGet('default.simple_direct_dictionary', 'value_decimal', number) FROM system.numbers LIMIT 300000;</query>
|
||||||
<query>SELECT dictGet('default.simple_direct_dictionary', 'value_string_nullable', number) FROM system.numbers LIMIT 500000;</query>
|
<query>SELECT dictGet('default.simple_direct_dictionary', 'value_string_nullable', number) FROM system.numbers LIMIT 300000;</query>
|
||||||
<query>SELECT dictHas('default.simple_direct_dictionary', number) FROM system.numbers LIMIT 500000;</query>
|
<query>SELECT dictHas('default.simple_direct_dictionary', number) FROM system.numbers LIMIT 300000;</query>
|
||||||
|
|
||||||
<query>SELECT dictGet('default.complex_direct_dictionary', 'value_int', (number, toString(number))) FROM system.numbers LIMIT 150000;</query>
|
<query>SELECT dictGet('default.complex_direct_dictionary', 'value_int', (number, toString(number))) FROM system.numbers LIMIT 100000;</query>
|
||||||
<query>SELECT dictGet('default.complex_direct_dictionary', 'value_string', (number, toString(number))) FROM system.numbers LIMIT 150000;</query>
|
<query>SELECT dictGet('default.complex_direct_dictionary', 'value_string', (number, toString(number))) FROM system.numbers LIMIT 100000;</query>
|
||||||
<query>SELECT dictGet('default.complex_direct_dictionary', 'value_decimal', (number, toString(number))) FROM system.numbers LIMIT 150000;</query>
|
<query>SELECT dictGet('default.complex_direct_dictionary', 'value_decimal', (number, toString(number))) FROM system.numbers LIMIT 100000;</query>
|
||||||
<query>SELECT dictGet('default.complex_direct_dictionary', 'value_string_nullable', (number, toString(number))) FROM system.numbers LIMIT 150000;</query>
|
<query>SELECT dictGet('default.complex_direct_dictionary', 'value_string_nullable', (number, toString(number))) FROM system.numbers LIMIT 100000;</query>
|
||||||
<query>SELECT dictHas('default.complex_direct_dictionary', (number, toString(number))) FROM system.numbers LIMIT 150000;</query>
|
<query>SELECT dictHas('default.complex_direct_dictionary', (number, toString(number))) FROM system.numbers LIMIT 100000;</query>
|
||||||
|
|
||||||
</test>
|
</test>
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
WITH number + 1 AS radius
|
WITH number + 1 AS radius
|
||||||
SELECT [arrayMap(x -> (cos(x / 90. * pi()) * radius, sin(x / 90. * pi()) * radius), range(180))]
|
SELECT [arrayMap(x -> (cos(x / 90. * pi()) * radius, sin(x / 90. * pi()) * radius), range(180))]
|
||||||
FROM numbers_mt(10000000)
|
FROM numbers_mt(10000000)
|
||||||
SETTINGS max_insert_threads = 4, max_memory_usage = 20G
|
SETTINGS max_insert_threads = 4, max_memory_usage = 20000000000
|
||||||
</create_query>
|
</create_query>
|
||||||
|
|
||||||
<query>SELECT pointInPolygon((100, 100), polygon) FROM polygons FORMAT Null</query>
|
<query>SELECT pointInPolygon((100, 100), polygon) FROM polygons FORMAT Null</query>
|
||||||
|
Loading…
Reference in New Issue
Block a user