mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 00:22:29 +00:00
97f2a2213e
* Move some code outside dbms/src folder * Fix paths
107 lines
1017 B
Plaintext
107 lines
1017 B
Plaintext
*** In-memory aggregation.
|
|
**** totals_mode = after_having_auto
|
|
0 2 1
|
|
1 2 3
|
|
2 2 5
|
|
3 2 7
|
|
4 2 9
|
|
5 2 11
|
|
6 2 13
|
|
7 2 15
|
|
8 2 17
|
|
9 2 19
|
|
|
|
0 500000 499999
|
|
**** totals_mode = after_having_inclusive
|
|
0 2 1
|
|
1 2 3
|
|
2 2 5
|
|
3 2 7
|
|
4 2 9
|
|
5 2 11
|
|
6 2 13
|
|
7 2 15
|
|
8 2 17
|
|
9 2 19
|
|
|
|
0 500000 499999
|
|
**** totals_mode = after_having_exclusive
|
|
0 2 1
|
|
1 2 3
|
|
2 2 5
|
|
3 2 7
|
|
4 2 9
|
|
5 2 11
|
|
6 2 13
|
|
7 2 15
|
|
8 2 17
|
|
9 2 19
|
|
|
|
0 200002 200001
|
|
**** totals_mode = before_having
|
|
0 2 1
|
|
1 2 3
|
|
2 2 5
|
|
3 2 7
|
|
4 2 9
|
|
5 2 11
|
|
6 2 13
|
|
7 2 15
|
|
8 2 17
|
|
9 2 19
|
|
|
|
0 500000 499999
|
|
*** External aggregation.
|
|
**** totals_mode = after_having_auto
|
|
0 2 1
|
|
1 2 3
|
|
2 2 5
|
|
3 2 7
|
|
4 2 9
|
|
5 2 11
|
|
6 2 13
|
|
7 2 15
|
|
8 2 17
|
|
9 2 19
|
|
|
|
0 500000 499999
|
|
**** totals_mode = after_having_inclusive
|
|
0 2 1
|
|
1 2 3
|
|
2 2 5
|
|
3 2 7
|
|
4 2 9
|
|
5 2 11
|
|
6 2 13
|
|
7 2 15
|
|
8 2 17
|
|
9 2 19
|
|
|
|
0 500000 499999
|
|
**** totals_mode = after_having_exclusive
|
|
0 2 1
|
|
1 2 3
|
|
2 2 5
|
|
3 2 7
|
|
4 2 9
|
|
5 2 11
|
|
6 2 13
|
|
7 2 15
|
|
8 2 17
|
|
9 2 19
|
|
|
|
0 200002 200001
|
|
**** totals_mode = before_having
|
|
0 2 1
|
|
1 2 3
|
|
2 2 5
|
|
3 2 7
|
|
4 2 9
|
|
5 2 11
|
|
6 2 13
|
|
7 2 15
|
|
8 2 17
|
|
9 2 19
|
|
|
|
0 500000 499999
|