Skip to content

Commit 85e33b0

Browse files
committed
fix regression test
1 parent a1f2942 commit 85e33b0

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

regression-test/data/nereids_rules_p0/mv/agg_optimize_when_uniform/agg_optimize_when_uniform.out

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ PhysicalResultSink
102102
yy 4 11.50 11.50 11.50 1
103103

104104
-- !query7_1_before --
105+
yy 4 11.50 11.50 11.50 1
105106

106107
-- !shape7_1_after --
107108
PhysicalResultSink
@@ -110,10 +111,11 @@ PhysicalResultSink
110111
------hashJoin[INNER_JOIN] hashCondition=((t1.l_orderkey = orders.o_orderkey) and (t1.l_shipdate = orders.o_orderdate)) otherCondition=()
111112
--------filter((t1.l_shipdate = '2023-12-09'))
112113
----------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))
114115
----------PhysicalOlapScan[orders]
115116

116117
-- !query7_1_after --
118+
yy 4 11.50 11.50 11.50 1
117119

118120
-- !query8_0_before --
119121
yy 4 11.50 11.50 11.50 1

regression-test/suites/nereids_rules_p0/mv/agg_optimize_when_uniform/agg_optimize_when_uniform.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -436,7 +436,7 @@ suite("agg_optimize_when_uniform") {
436436
count(*)
437437
from lineitem t1
438438
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
440440
group by
441441
l_partkey,
442442
o_comment;

0 commit comments

Comments
 (0)