This is an automated email from the ASF dual-hosted git repository.

hellostephen pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/master by this push:
     new b93d21a657d [fix](case) fix regression test 
add_project_for_unique_function (#58835)
b93d21a657d is described below

commit b93d21a657d82100584b3deb49033d9a5a07d7c8
Author: yujun <[email protected]>
AuthorDate: Tue Dec 9 17:34:05 2025 +0800

    [fix](case) fix regression test add_project_for_unique_function (#58835)
    
    ### What problem does this PR solve?
    
    fail reason is recently some PR use two slot id, cause random's slot id
    + 2
---
 .../unique_function/add_project_for_unique_function.out           | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git 
a/regression-test/data/nereids_rules_p0/unique_function/add_project_for_unique_function.out
 
b/regression-test/data/nereids_rules_p0/unique_function/add_project_for_unique_function.out
index cd84ab73200..f003acf1caa 100644
--- 
a/regression-test/data/nereids_rules_p0/unique_function/add_project_for_unique_function.out
+++ 
b/regression-test/data/nereids_rules_p0/unique_function/add_project_for_unique_function.out
@@ -42,16 +42,16 @@ PhysicalResultSink
 --hashAgg[GLOBAL, groupByExpr=(k), outputExpr=(k)]
 ----hashAgg[LOCAL, groupByExpr=(k), outputExpr=(k)]
 ------PhysicalUnion(constantExprsList=[[TRUE AS `true`]])
---------PhysicalProject[AND[($_random_8_$ >= 0.1),($_random_8_$ <= 0.5)] AS 
`k`]
-----------PhysicalOneRowRelation[random() AS `$_random_8_$`]
+--------PhysicalProject[AND[($_random_10_$ >= 0.1),($_random_10_$ <= 0.5)] AS 
`k`]
+----------PhysicalOneRowRelation[random() AS `$_random_10_$`]
 
 -- !union_2 --
 PhysicalResultSink
 --hashAgg[GLOBAL, groupByExpr=(k), outputExpr=(k)]
 ----hashAgg[LOCAL, groupByExpr=(k), outputExpr=(k)]
 ------PhysicalUnion(constantExprsList=[[TRUE AS `true`]])
---------PhysicalProject[AND[((cast(id as DOUBLE) + $_random_9_$) >= 
0.1),((cast(id as DOUBLE) + $_random_9_$) <= 0.5)] AS `k`]
-----------PhysicalProject[random() AS `$_random_9_$`, t1.id]
+--------PhysicalProject[AND[((cast(id as DOUBLE) + $_random_11_$) >= 
0.1),((cast(id as DOUBLE) + $_random_11_$) <= 0.5)] AS `k`]
+----------PhysicalProject[random() AS `$_random_11_$`, t1.id]
 ------------PhysicalOlapScan[t1]
 
 -- !union_all_1 --


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to