File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
data/nereids_rules_p0/mv/agg_optimize_when_uniform
suites/nereids_rules_p0/mv/agg_optimize_when_uniform Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -102,6 +102,7 @@ PhysicalResultSink
102
102
yy 4 11.50 11.50 11.50 1
103
103
104
104
-- !query7_1_before --
105
+ yy 4 11.50 11.50 11.50 1
105
106
106
107
-- !shape7_1_after --
107
108
PhysicalResultSink
@@ -110,10 +111,11 @@ PhysicalResultSink
110
111
------hashJoin[INNER_JOIN] hashCondition=((t1.l_orderkey = orders.o_orderkey) and (t1.l_shipdate = orders.o_orderdate)) otherCondition=()
111
112
--------filter((t1.l_shipdate = '2023-12-09'))
112
113
----------PhysicalOlapScan[lineitem]
113
- --------filter((cast(o_shippriority as DOUBLE) = cast('a' as DOUBLE)) and (orders.o_orderdate = '2023-12-09' ) and (orders.o_totalprice = 11.50))
114
+ --------filter((orders.o_orderdate = '2023-12-09') and (orders.o_shippriority = 1 ) and (orders.o_totalprice = 11.50))
114
115
----------PhysicalOlapScan[orders]
115
116
116
117
-- !query7_1_after --
118
+ yy 4 11.50 11.50 11.50 1
117
119
118
120
-- !query8_0_before --
119
121
yy 4 11.50 11.50 11.50 1
Original file line number Diff line number Diff line change @@ -436,7 +436,7 @@ suite("agg_optimize_when_uniform") {
436
436
count(*)
437
437
from lineitem t1
438
438
left join orders on t1.l_orderkey = orders.o_orderkey and t1.l_shipdate = o_orderdate
439
- where o_orderdate = '2023-12-09' and o_shippriority = 'a' and o_totalprice = 11.5
439
+ where o_orderdate = '2023-12-09' and o_shippriority = 1 and o_totalprice = 11.5
440
440
group by
441
441
l_partkey,
442
442
o_comment;
You can’t perform that action at this time.
0 commit comments