mrhhsg opened a new pull request, #71453:
URL: https://github.com/apache/doris/pull/71453

   ### What problem does this PR solve?
   
   Issue Number: None
   
   Related PR: #70168
   
   Cherry-picked from #70168 for `branch-4.2`. No conflicts or branch-specific 
adaptations were required.
   
   Problem Summary: The TPC-DS SF1 UNIQUE and UNIQUE CK spill q24 suites still 
used a birth-country equality predicate, while their ordinary counterparts used 
inequality. Their stale nonempty expected results also did not match the 
queries with the current-address join, causing false regression failures.
   
   This PR aligns the four spill queries with the ordinary q24 SQL and carries 
over the corrected empty expected outputs. The current-address join and 
forced-spill settings are preserved. Only regression SQL and expected outputs 
change; there is no product behavior change.
   
   ### Testing
   
   Validated on an isolated 1 FE + 1 BE built from the target branch, using 
locally generated TPC-DS 3.2.0rc2 SF1 data. Both models used the target 
branch's original DDL and load mappings: all 48 tables loaded with zero 
filtered rows, and independent counts matched the source data.
   
   - BE Release build: `./build.sh --be --hive-udf -j 48` passed.
   - FE build: `./build.sh --fe -j 48` passed, including FE Checkstyle.
   - Regression: **10 suites passed, 0 failed, 0 fatal, 0 skipped**: four spill 
q24 suites, four ordinary q24 suites, and two q01 spill controls. The two 
controls were also queried independently; each returned 100 rows and matched 
its existing baseline exactly. No expected output was regenerated during 
target-branch validation.
   - `./build-support/check-format.sh` and `git diff --check 
origin/branch-4.2...HEAD` passed.
   
   Regression commands (`<isolated-regression-conf>` denotes the isolated 
cluster configuration):
   
   ```bash
   ./run-regression-test.sh --conf <isolated-regression-conf> --run -d 
tpcds_sf1_unique_p1/spill -s q24_1_spill,q24_2_spill,q01_spill -parallel 1 
-suiteParallel 1
   ./run-regression-test.sh --conf <isolated-regression-conf> --run -d 
tpcds_sf1_unique_p1/sql -s q24_1,q24_2 -parallel 1 -suiteParallel 1
   ./run-regression-test.sh --conf <isolated-regression-conf> --run -d 
tpcds_sf1_unique_ck_p1/spill -s q24_1_spill,q24_2_spill,q01_spill -parallel 1 
-suiteParallel 1
   ./run-regression-test.sh --conf <isolated-regression-conf> --run -d 
tpcds_sf1_unique_ck_p1/sql -s q24_1,q24_2 -parallel 1 -suiteParallel 1
   ```
   
   ### Release note
   
   None
   
   ### Check List (For Author)
   
   - Test
       - [x] Regression test
   - Behavior changed:
       - [x] No product behavior change.
   - Does this need documentation?
       - [x] No.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to