@@ -3,69 +3,69 @@ agg-empty-table-tests:
3
3
explain : ' AISCAN(T2_I6 <,> BY_GROUP -> [_0: KEY:[0], _1: VALUE:[0]]) ∩ AISCAN(T2_I4
4
4
<,> BY_GROUP -> [_0: KEY:[0], _1: VALUE:[0]]) COMPARE BY (_._0) WITH q0, q1
5
5
RETURN (q0._0 AS _0, q0._1 AS _1, q1._1 AS _2) | MAP (_._1 / _._2 AS _0)'
6
- task_count : 317
7
- task_total_time_ms : 101
8
- transform_count : 115
9
- transform_time_ms : 86
10
- transform_yield_count : 51
11
- insert_time_ms : 0
12
- insert_new_count : 16
13
- insert_reused_count : 0
6
+ task_count : 410
7
+ task_total_time_ms : 106
8
+ transform_count : 126
9
+ transform_time_ms : 84
10
+ transform_yield_count : 57
11
+ insert_time_ms : 3
12
+ insert_new_count : 30
13
+ insert_reused_count : 1
14
14
- query : EXPLAIN select sum(col2), count(col2) from T2 where col1 < 2 group by col1;
15
15
explain : ' AISCAN(T2_I6 [[LESS_THAN promote(@c16 AS LONG)]] BY_GROUP -> [_0: KEY:[0],
16
16
_1: VALUE:[0]]) ∩ AISCAN(T2_I4 [[LESS_THAN promote(@c16 AS LONG)]] BY_GROUP
17
17
-> [_0: KEY:[0], _1: VALUE:[0]]) COMPARE BY (_._0) WITH q0, q1 RETURN (q0._0
18
18
AS _0, q0._1 AS _1, q1._1 AS _2) | MAP (_._1 AS _0, _._2 AS _1)'
19
- task_count : 317
20
- task_total_time_ms : 31
21
- transform_count : 115
22
- transform_time_ms : 26
23
- transform_yield_count : 51
24
- insert_time_ms : 0
25
- insert_new_count : 16
26
- insert_reused_count : 0
19
+ task_count : 410
20
+ task_total_time_ms : 34
21
+ transform_count : 126
22
+ transform_time_ms : 27
23
+ transform_yield_count : 57
24
+ insert_time_ms : 1
25
+ insert_new_count : 30
26
+ insert_reused_count : 1
27
27
- query : EXPLAIN select sum(col2), count(col2) from T2 group by col1 having sum(col2)
28
28
= 17;
29
29
explain : ' AISCAN(T2_I6 <,> BY_GROUP -> [_0: KEY:[0], _1: VALUE:[0]]) ∩ AISCAN(T2_I4
30
30
<,> BY_GROUP -> [_0: KEY:[0], _1: VALUE:[0]]) COMPARE BY (_._0) WITH q0, q1
31
31
RETURN (q0._0 AS _0, q0._1 AS _1, q1._1 AS _2) | FILTER _._1 EQUALS promote(@c22
32
32
AS LONG) | MAP (_._1 AS _0, _._2 AS _1)'
33
- task_count : 349
34
- task_total_time_ms : 23
35
- transform_count : 120
36
- transform_time_ms : 17
37
- transform_yield_count : 52
38
- insert_time_ms : 0
39
- insert_new_count : 20
40
- insert_reused_count : 0
33
+ task_count : 441
34
+ task_total_time_ms : 32
35
+ transform_count : 131
36
+ transform_time_ms : 23
37
+ transform_yield_count : 58
38
+ insert_time_ms : 2
39
+ insert_new_count : 34
40
+ insert_reused_count : 1
41
41
- query : EXPLAIN select sum(col2), count(col2) from T2 where col1 < 2 group by col1
42
42
having sum(col2) = 17;
43
43
explain : ' AISCAN(T2_I6 [[LESS_THAN promote(@c16 AS LONG)]] BY_GROUP -> [_0: KEY:[0],
44
44
_1: VALUE:[0]]) ∩ AISCAN(T2_I4 [[LESS_THAN promote(@c16 AS LONG)]] BY_GROUP
45
45
-> [_0: KEY:[0], _1: VALUE:[0]]) COMPARE BY (_._0) WITH q0, q1 RETURN (q0._0
46
46
AS _0, q0._1 AS _1, q1._1 AS _2) | FILTER _._1 EQUALS promote(@c26 AS LONG)
47
47
| MAP (_._1 AS _0, _._2 AS _1)'
48
- task_count : 349
49
- task_total_time_ms : 18
50
- transform_count : 120
51
- transform_time_ms : 15
52
- transform_yield_count : 52
48
+ task_count : 441
49
+ task_total_time_ms : 21
50
+ transform_count : 131
51
+ transform_time_ms : 16
52
+ transform_yield_count : 58
53
53
insert_time_ms : 0
54
- insert_new_count : 20
55
- insert_reused_count : 0
54
+ insert_new_count : 34
55
+ insert_reused_count : 1
56
56
- query : EXPLAIN select sum(col1) / count(col1), col2 from T1 group by col2;
57
57
explain : ' AISCAN(T1_I2 <,> BY_GROUP -> [_0: KEY:[0], _1: VALUE:[0]]) ∩ AISCAN(T1_I1
58
58
<,> BY_GROUP -> [_0: KEY:[0], _1: KEY:[1], _2: VALUE:[0]]) | AGG sum_l(_._2)
59
59
GROUP BY (_._0 AS _0) COMPARE BY (_._0) WITH q0, q1 RETURN (q0._0 AS _0, q0._1
60
60
AS _1, q1._1 AS _2) | MAP (_._1 / _._2 AS _0, _._0 AS COL2)'
61
- task_count : 475
62
- task_total_time_ms : 25
63
- transform_count : 143
64
- transform_time_ms : 19
65
- transform_yield_count : 49
66
- insert_time_ms : 0
67
- insert_new_count : 36
68
- insert_reused_count : 0
61
+ task_count : 589
62
+ task_total_time_ms : 33
63
+ transform_count : 155
64
+ transform_time_ms : 22
65
+ transform_yield_count : 55
66
+ insert_time_ms : 3
67
+ insert_new_count : 55
68
+ insert_reused_count : 2
69
69
- query : EXPLAIN select col2, sum(col1) / count(col1) from T1 where col2 < 2 group
70
70
by col2 having sum(col1) = 17 order by col2;
71
71
explain : ' AISCAN(T1_I2 [[LESS_THAN promote(@c18 AS LONG)]] BY_GROUP -> [_0: KEY:[0],
@@ -74,14 +74,14 @@ agg-empty-table-tests:
74
74
AS _0) COMPARE BY (_._0) WITH q0, q1 RETURN (q0._0 AS _0, q0._1 AS _1, q1._1
75
75
AS _2) | FILTER _._1 EQUALS promote(@c28 AS LONG) | MAP (_._0 AS COL2, _._1
76
76
/ _._2 AS _1)'
77
- task_count : 528
78
- task_total_time_ms : 29
79
- transform_count : 152
80
- transform_time_ms : 22
81
- transform_yield_count : 51
82
- insert_time_ms : 0
83
- insert_new_count : 43
84
- insert_reused_count : 0
77
+ task_count : 640
78
+ task_total_time_ms : 32
79
+ transform_count : 164
80
+ transform_time_ms : 23
81
+ transform_yield_count : 57
82
+ insert_time_ms : 2
83
+ insert_new_count : 62
84
+ insert_reused_count : 2
85
85
- query : EXPLAIN select col2, sum(col1) / count(col1) from T1 where col2 < 2 group
86
86
by col2, col3 having sum(col1) = 17;
87
87
explain : ' AISCAN(T1_I4 [[LESS_THAN promote(@c18 AS LONG)]] BY_GROUP -> [_0: KEY:[0],
@@ -90,23 +90,23 @@ agg-empty-table-tests:
90
90
WITH q0, q1 RETURN (q0._0 AS _0, q0._1 AS _1, q0._2 AS _2, q1._2 AS _3) |
91
91
FILTER _._2 EQUALS promote(@c30 AS LONG) | MAP (_._0 AS COL2, _._2 / _._3
92
92
AS _1)'
93
- task_count : 335
94
- task_total_time_ms : 32
95
- transform_count : 111
96
- transform_time_ms : 26
97
- transform_yield_count : 45
93
+ task_count : 427
94
+ task_total_time_ms : 34
95
+ transform_count : 122
96
+ transform_time_ms : 30
97
+ transform_yield_count : 51
98
98
insert_time_ms : 0
99
- insert_new_count : 20
100
- insert_reused_count : 0
99
+ insert_new_count : 34
100
+ insert_reused_count : 1
101
101
- query : EXPLAIN select col1, min(col2), max(col2) from T3 group by col1, col3;
102
102
explain : ISCAN(T3_I1 <,>) | MAP (_ AS _0) | AGG (min_l(_._0.COL2) AS _0, max_l(_._0.COL2)
103
103
AS _1) GROUP BY (_._0.COL1 AS _0, _._0.COL3 AS _1) | MAP (_._0._0 AS COL1,
104
104
_._1._0 AS _1, _._1._1 AS _2)
105
- task_count : 320
106
- task_total_time_ms : 31
107
- transform_count : 115
108
- transform_time_ms : 25
109
- transform_yield_count : 48
110
- insert_time_ms : 2
111
- insert_new_count : 38
112
- insert_reused_count : 4
105
+ task_count : 428
106
+ task_total_time_ms : 25
107
+ transform_count : 127
108
+ transform_time_ms : 20
109
+ transform_yield_count : 54
110
+ insert_time_ms : 1
111
+ insert_new_count : 53
112
+ insert_reused_count : 6
0 commit comments