This is an automated email from the ASF dual-hosted git repository.
englefly 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 cf536ab068d [fix](regression) fix unstable case cse.groovy (#56227)
cf536ab068d is described below
commit cf536ab068df42956ea6eed84479d0be4b1baa8a
Author: minghong <[email protected]>
AuthorDate: Mon Sep 22 17:42:28 2025 +0800
[fix](regression) fix unstable case cse.groovy (#56227)
---
regression-test/data/tpch_sf0.1_p1/sql/cse.out | Bin 455 -> 3579 bytes
regression-test/suites/tpch_sf0.1_p1/sql/cse.groovy | 11 ++++-------
2 files changed, 4 insertions(+), 7 deletions(-)
diff --git a/regression-test/data/tpch_sf0.1_p1/sql/cse.out
b/regression-test/data/tpch_sf0.1_p1/sql/cse.out
index b65ac322a3a..a0d5f98f2b0 100644
Binary files a/regression-test/data/tpch_sf0.1_p1/sql/cse.out and
b/regression-test/data/tpch_sf0.1_p1/sql/cse.out differ
diff --git a/regression-test/suites/tpch_sf0.1_p1/sql/cse.groovy
b/regression-test/suites/tpch_sf0.1_p1/sql/cse.groovy
index 0aed62a3717..29451c8ff83 100644
--- a/regression-test/suites/tpch_sf0.1_p1/sql/cse.groovy
+++ b/regression-test/suites/tpch_sf0.1_p1/sql/cse.groovy
@@ -41,7 +41,7 @@ suite('cse') {
explain {
sql "${q2}"
- multiContains("intermediate projections:", 2)
+ multiContains("intermediate projections:", 3)
}
qt_cse_3 """ select sum(s_nationkey),sum(s_nationkey +1 ) ,sum(s_nationkey
+2 ) , sum(s_nationkey + 3 ) from supplier ;"""
@@ -55,10 +55,7 @@ suite('cse') {
(case r_regionkey when 1 then 0 when 2 then 3 else
r_regionkey+1 END) + 2 as y
from region order by x, y;"""
- // do not apply cse upon multiDataSink
- explain {
- sql "select * FROM nation left outer join region on n_nationkey-5
= r_regionkey or n_nationkey-10=r_regionkey + 10;"
- contains("MultiCastDataSinks")
- notContains("intermediate projections")
- }
+ // do not apply cse upon multiDataSink. it is hard to check plan detail on
multiDataSink, so just check result.
+ qt_multiDataSink "select * FROM nation left outer join region on
n_nationkey-5 = r_regionkey or n_nationkey-10=r_regionkey + 10;"
+
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]