This is an automated email from the ASF dual-hosted git repository.
Mryange 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 7dc400b1b61 [fix](regression) Align spill q24 queries with corrected
baselines (#70168)
7dc400b1b61 is described below
commit 7dc400b1b61328ab4a7dd1291f85ac0d02ebaccf
Author: Jerry Hu <[email protected]>
AuthorDate: Thu Dec 3 21:44:16 2026 +0800
[fix](regression) Align spill q24 queries with corrected baselines (#70168)
### What problem does this PR solve?
Issue Number: None
Related PR: #47303, #51497
Problem Summary: The TPC-DS SF1 UNIQUE and UNIQUE CK spill q24 suites
retained a birth-country equality predicate after the ordinary q24
queries switched to inequality. Their expected nonempty rows also came
from an older query without the current-address join. With the current
join and SF1 data, those stale expectations cause false regression
failures. Align the four spill queries with the ordinary q24 SQL and
regenerate their expected outputs.
### Release note
None
### Check List (For Author)
- Test
- [x] Regression test: regenerated four q24 spill outputs and reran all
four suites without generation; verified four ordinary q24 suites and
two q01 spill controls. All 14 executions passed with no skipped suites.
- [x] ASAN BE/FE build and FE Checkstyle passed;
`./build-support/check-format.sh` and `git diff --check
origin/master...HEAD` passed.
- Behavior changed:
- [x] No product behavior change; only regression SQL and expected
outputs are corrected.
- Does this need documentation?
- [x] No.
---
regression-test/data/tpcds_sf1_unique_ck_p1/spill/q24_1.out | 7 -------
regression-test/data/tpcds_sf1_unique_ck_p1/spill/q24_2.out | 1 -
regression-test/data/tpcds_sf1_unique_p1/spill/q24_1.out | 7 -------
regression-test/data/tpcds_sf1_unique_p1/spill/q24_2.out | 1 -
regression-test/suites/tpcds_sf1_unique_ck_p1/spill/q24_1.groovy | 2 +-
regression-test/suites/tpcds_sf1_unique_ck_p1/spill/q24_2.groovy | 2 +-
regression-test/suites/tpcds_sf1_unique_p1/spill/q24_1.groovy | 2 +-
regression-test/suites/tpcds_sf1_unique_p1/spill/q24_2.groovy | 2 +-
8 files changed, 4 insertions(+), 20 deletions(-)
diff --git a/regression-test/data/tpcds_sf1_unique_ck_p1/spill/q24_1.out
b/regression-test/data/tpcds_sf1_unique_ck_p1/spill/q24_1.out
index b5b3781427f..a87a3f6eb2f 100644
--- a/regression-test/data/tpcds_sf1_unique_ck_p1/spill/q24_1.out
+++ b/regression-test/data/tpcds_sf1_unique_ck_p1/spill/q24_1.out
@@ -1,10 +1,3 @@
-- This file is automatically generated. You should know what you did if you
want to edit this
-- !q24_1 --
- Tommy able 38118.08
-Holt Curtis able 8225.80
-Kunz Lee able 34631.52
-Littlefield Clarence able 127380.00
-Pettit Richard able 3930.52
-Townsend Franklin able 68983.20
-Winchester Margaret bar 14269.20
diff --git a/regression-test/data/tpcds_sf1_unique_ck_p1/spill/q24_2.out
b/regression-test/data/tpcds_sf1_unique_ck_p1/spill/q24_2.out
index 3dd7690d52b..04afb1f4cd5 100644
--- a/regression-test/data/tpcds_sf1_unique_ck_p1/spill/q24_2.out
+++ b/regression-test/data/tpcds_sf1_unique_ck_p1/spill/q24_2.out
@@ -1,4 +1,3 @@
-- This file is automatically generated. You should know what you did if you
want to edit this
-- !q24_2 --
-Griffith Ray able 161564.48
diff --git a/regression-test/data/tpcds_sf1_unique_p1/spill/q24_1.out
b/regression-test/data/tpcds_sf1_unique_p1/spill/q24_1.out
index b5b3781427f..a87a3f6eb2f 100644
--- a/regression-test/data/tpcds_sf1_unique_p1/spill/q24_1.out
+++ b/regression-test/data/tpcds_sf1_unique_p1/spill/q24_1.out
@@ -1,10 +1,3 @@
-- This file is automatically generated. You should know what you did if you
want to edit this
-- !q24_1 --
- Tommy able 38118.08
-Holt Curtis able 8225.80
-Kunz Lee able 34631.52
-Littlefield Clarence able 127380.00
-Pettit Richard able 3930.52
-Townsend Franklin able 68983.20
-Winchester Margaret bar 14269.20
diff --git a/regression-test/data/tpcds_sf1_unique_p1/spill/q24_2.out
b/regression-test/data/tpcds_sf1_unique_p1/spill/q24_2.out
index 3dd7690d52b..04afb1f4cd5 100644
--- a/regression-test/data/tpcds_sf1_unique_p1/spill/q24_2.out
+++ b/regression-test/data/tpcds_sf1_unique_p1/spill/q24_2.out
@@ -1,4 +1,3 @@
-- This file is automatically generated. You should know what you did if you
want to edit this
-- !q24_2 --
-Griffith Ray able 161564.48
diff --git a/regression-test/suites/tpcds_sf1_unique_ck_p1/spill/q24_1.groovy
b/regression-test/suites/tpcds_sf1_unique_ck_p1/spill/q24_1.groovy
index eb809d53e20..06d909960ec 100644
--- a/regression-test/suites/tpcds_sf1_unique_ck_p1/spill/q24_1.groovy
+++ b/regression-test/suites/tpcds_sf1_unique_ck_p1/spill/q24_1.groovy
@@ -52,7 +52,7 @@ WITH
AND (ss_item_sk = i_item_sk)
AND (ss_store_sk = s_store_sk)
AND (c_current_addr_sk = ca_address_sk)
- AND (c_birth_country = upper(ca_country))
+ AND (c_birth_country <> upper(ca_country))
AND (s_zip = ca_zip)
AND (s_market_id = 8)
GROUP BY c_last_name, c_first_name, s_store_name, ca_state, s_state,
i_color, i_current_price, i_manager_id, i_units, i_size
diff --git a/regression-test/suites/tpcds_sf1_unique_ck_p1/spill/q24_2.groovy
b/regression-test/suites/tpcds_sf1_unique_ck_p1/spill/q24_2.groovy
index 663c2626aed..abab1d33198 100644
--- a/regression-test/suites/tpcds_sf1_unique_ck_p1/spill/q24_2.groovy
+++ b/regression-test/suites/tpcds_sf1_unique_ck_p1/spill/q24_2.groovy
@@ -52,7 +52,7 @@ WITH
AND (ss_item_sk = i_item_sk)
AND (ss_store_sk = s_store_sk)
AND (c_current_addr_sk = ca_address_sk)
- AND (c_birth_country = upper(ca_country))
+ AND (c_birth_country <> upper(ca_country))
AND (s_zip = ca_zip)
AND (s_market_id = 8)
GROUP BY c_last_name, c_first_name, s_store_name, ca_state, s_state,
i_color, i_current_price, i_manager_id, i_units, i_size
diff --git a/regression-test/suites/tpcds_sf1_unique_p1/spill/q24_1.groovy
b/regression-test/suites/tpcds_sf1_unique_p1/spill/q24_1.groovy
index b51f8870a50..0dc4fd3c287 100644
--- a/regression-test/suites/tpcds_sf1_unique_p1/spill/q24_1.groovy
+++ b/regression-test/suites/tpcds_sf1_unique_p1/spill/q24_1.groovy
@@ -52,7 +52,7 @@ WITH
AND (ss_item_sk = i_item_sk)
AND (ss_store_sk = s_store_sk)
AND (c_current_addr_sk = ca_address_sk)
- AND (c_birth_country = upper(ca_country))
+ AND (c_birth_country <> upper(ca_country))
AND (s_zip = ca_zip)
AND (s_market_id = 8)
GROUP BY c_last_name, c_first_name, s_store_name, ca_state, s_state,
i_color, i_current_price, i_manager_id, i_units, i_size
diff --git a/regression-test/suites/tpcds_sf1_unique_p1/spill/q24_2.groovy
b/regression-test/suites/tpcds_sf1_unique_p1/spill/q24_2.groovy
index 23eff95e881..2f0c6d3d429 100644
--- a/regression-test/suites/tpcds_sf1_unique_p1/spill/q24_2.groovy
+++ b/regression-test/suites/tpcds_sf1_unique_p1/spill/q24_2.groovy
@@ -52,7 +52,7 @@ WITH
AND (ss_item_sk = i_item_sk)
AND (ss_store_sk = s_store_sk)
AND (c_current_addr_sk = ca_address_sk)
- AND (c_birth_country = upper(ca_country))
+ AND (c_birth_country <> upper(ca_country))
AND (s_zip = ca_zip)
AND (s_market_id = 8)
GROUP BY c_last_name, c_first_name, s_store_name, ca_state, s_state,
i_color, i_current_price, i_manager_id, i_units, i_size
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]