mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-11 01:54:55 +00:00
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
|