Skip to content

Commit 1744ff1

Browse files
branch-4.0: [fix](case) fix regression test add_project_for_unique_function #58835 (#59636)
Cherry-picked from #58835 Co-authored-by: yujun <[email protected]>
1 parent 0221a73 commit 1744ff1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

regression-test/data/nereids_rules_p0/unique_function/add_project_for_unique_function.out

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,16 +42,16 @@ PhysicalResultSink
4242
--hashAgg[GLOBAL, groupByExpr=(k), outputExpr=(k)]
4343
----hashAgg[LOCAL, groupByExpr=(k), outputExpr=(k)]
4444
------PhysicalUnion(constantExprsList=[[TRUE AS `true`]])
45-
--------PhysicalProject[AND[($_random_8_$ >= 0.1),($_random_8_$ <= 0.5)] AS `k`]
46-
----------PhysicalOneRowRelation[random() AS `$_random_8_$`]
45+
--------PhysicalProject[AND[($_random_10_$ >= 0.1),($_random_10_$ <= 0.5)] AS `k`]
46+
----------PhysicalOneRowRelation[random() AS `$_random_10_$`]
4747

4848
-- !union_2 --
4949
PhysicalResultSink
5050
--hashAgg[GLOBAL, groupByExpr=(k), outputExpr=(k)]
5151
----hashAgg[LOCAL, groupByExpr=(k), outputExpr=(k)]
5252
------PhysicalUnion(constantExprsList=[[TRUE AS `true`]])
53-
--------PhysicalProject[AND[((cast(id as DOUBLE) + $_random_9_$) >= 0.1),((cast(id as DOUBLE) + $_random_9_$) <= 0.5)] AS `k`]
54-
----------PhysicalProject[random() AS `$_random_9_$`, t1.id]
53+
--------PhysicalProject[AND[((cast(id as DOUBLE) + $_random_11_$) >= 0.1),((cast(id as DOUBLE) + $_random_11_$) <= 0.5)] AS `k`]
54+
----------PhysicalProject[random() AS `$_random_11_$`, t1.id]
5555
------------PhysicalOlapScan[t1]
5656

5757
-- !union_all_1 --

0 commit comments

Comments
 (0)