mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 23:21:59 +00:00
Little more sophisticated test [#METR-21614].
This commit is contained in:
parent
9485e493d1
commit
c75f42891f
@ -1 +1,36 @@
|
||||
4986
|
||||
0 1 0
|
||||
1 1 1
|
||||
2 1 2
|
||||
3 2 4
|
||||
4 2 6
|
||||
5 4 9
|
||||
6 6 14
|
||||
7 8 21
|
||||
8 13 31
|
||||
9 19 47
|
||||
10 29 71
|
||||
11 43 107
|
||||
12 65 161
|
||||
13 97 242
|
||||
14 146 364
|
||||
15 219 546
|
||||
16 329 820
|
||||
17 492 1231
|
||||
18 739 1846
|
||||
19 1109 2770
|
||||
20 1662 4156
|
||||
21 2494 6234
|
||||
22 3741 8129
|
||||
23 5612 4028
|
||||
24 8417 4205
|
||||
25 12625 5777
|
||||
26 18939 4724
|
||||
27 28407 4724
|
||||
28 42612 5290
|
||||
29 63917 5026
|
||||
30 95875 4965
|
||||
31 143813 5026
|
||||
32 215720 4965
|
||||
33 323580 5026
|
||||
34 29261 5124
|
||||
|
@ -1 +1,2 @@
|
||||
SELECT quantileTiming(number) FROM (SELECT * FROM system.numbers LIMIT 10000);
|
||||
SELECT floor(log(1 + number) / log(1.5)) AS k, count() AS c, quantileTiming(number % 10000) AS q FROM (SELECT * FROM system.numbers LIMIT 1000000) GROUP BY k ORDER BY k;
|
||||
|
Loading…
Reference in New Issue
Block a user