ClickHouse/tests/queries/0_stateless/01883_with_grouping_sets.reference

220 lines
3.8 KiB
Plaintext
Raw Normal View History

(Expression)
ExpressionTransform
(Sorting)
MergingSortedTransform 2 → 1
MergeSortingTransform × 2
LimitsCheckingTransform × 2
PartialSortingTransform × 2
(Expression)
ExpressionTransform × 2
(Aggregating)
2022-05-10 17:54:36 +00:00
ExpressionTransform × 2
AggregatingTransform × 2
Copy 1 → 2
(Expression)
ExpressionTransform
2022-05-30 13:10:30 +00:00
(ReadFromStorage)
Memory 0 → 1
1 0 1 4500
1 0 3 4700
1 0 5 4900
1 0 7 5100
1 0 9 5300
1 1 0 4500
1 2 0 5100
1 3 0 4700
1 4 0 5300
1 5 0 4900
2 0 2 4600
2 0 4 4800
2 0 6 5000
2 0 8 5200
2 0 10 5400
2 1 0 5000
2 2 0 4600
2 3 0 5200
2 4 0 4800
2 5 0 5400
0 0 1 1 4500
0 0 2 2 4600
0 0 3 3 4700
0 0 4 4 4800
0 0 5 5 4900
0 0 6 6 5000
0 0 7 7 5100
0 0 8 8 5200
0 0 9 9 5300
0 0 10 10 5400
1 1 0 0 4500
1 2 0 0 5100
1 3 0 0 4700
1 4 0 0 5300
1 5 0 0 4900
2 1 0 0 5000
2 2 0 0 4600
2 3 0 0 5200
2 4 0 0 4800
2 5 0 0 5400
0 0 0 49500
0 0 1 4500
0 0 2 4600
0 0 3 4700
0 0 4 4800
0 0 5 4900
0 0 6 5000
0 0 7 5100
0 0 8 5200
0 0 9 5300
0 0 10 5400
1 1 0 4500
1 2 0 5100
1 3 0 4700
1 4 0 5300
1 5 0 4900
2 1 0 5000
2 2 0 4600
2 3 0 5200
2 4 0 4800
2 5 0 5400
2021-12-21 12:08:50 +00:00
SELECT
fact_1_id,
fact_3_id,
sum(sales_value) AS sales_value
FROM grouping_sets
GROUP BY
GROUPING SETS (
(fact_1_id),
(fact_1_id, fact_3_id))
WITH TOTALS
ORDER BY
fact_1_id ASC,
fact_3_id ASC
(Expression)
ExpressionTransform
(Sorting)
MergingSortedTransform 2 → 1
MergeSortingTransform × 2
LimitsCheckingTransform × 2
PartialSortingTransform × 2
(Expression)
ExpressionTransform × 2
(Aggregating)
2022-05-10 17:54:36 +00:00
ExpressionTransform × 2
Resize × 2 3 → 1
AggregatingTransform × 6
Copy × 3 1 → 2
(Expression)
ExpressionTransform × 3
2022-05-30 13:10:30 +00:00
(ReadFromStorage)
NumbersMt × 3 0 → 1
4999500000 10000
4999510000 10000
4999520000 10000
4999530000 10000
4999540000 10000
4999550000 10000
4999560000 10000
4999570000 10000
4999580000 10000
4999590000 10000
4999600000 10000
4999610000 10000
4999620000 10000
4999630000 10000
4999640000 10000
4999650000 10000
4999660000 10000
4999670000 10000
4999680000 10000
4999690000 10000
4999700000 10000
4999710000 10000
4999720000 10000
4999730000 10000
4999740000 10000
4999750000 10000
4999760000 10000
4999770000 10000
4999780000 10000
4999790000 10000
4999800000 10000
4999810000 10000
4999820000 10000
4999830000 10000
4999840000 10000
4999850000 10000
4999860000 10000
4999870000 10000
4999880000 10000
4999890000 10000
4999900000 10000
4999910000 10000
4999920000 10000
4999930000 10000
4999940000 10000
4999950000 10000
4999960000 10000
4999970000 10000
4999980000 10000
4999990000 10000
5000000000 10000
5000010000 10000
5000020000 10000
5000030000 10000
5000040000 10000
5000050000 10000
5000060000 10000
5000070000 10000
5000080000 10000
5000090000 10000
5000100000 10000
5000110000 10000
5000120000 10000
5000130000 10000
5000140000 10000
5000150000 10000
5000160000 10000
5000170000 10000
5000180000 10000
5000190000 10000
5000200000 10000
5000210000 10000
5000220000 10000
5000230000 10000
5000240000 10000
5000250000 10000
5000260000 10000
5000270000 10000
5000280000 10000
5000290000 10000
5000300000 10000
5000310000 10000
5000320000 10000
5000330000 10000
5000340000 10000
5000350000 10000
5000360000 10000
5000370000 10000
5000380000 10000
5000390000 10000
5000400000 10000
5000410000 10000
5000420000 10000
5000430000 10000
5000440000 10000
5000450000 10000
5000460000 10000
5000470000 10000
5000480000 10000
5000490000 10000
49999500000 100000
49999600000 100000
49999700000 100000
49999800000 100000
49999900000 100000
50000000000 100000
50000100000 100000
50000200000 100000
50000300000 100000
50000400000 100000