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

   ### What problem does this PR solve?
   
   Issue Number: None
   
   Backport of [#70168](https://github.com/apache/doris/pull/70168) to 
`branch-4.1`.
   
   The TPC-DS SF1 UNIQUE and UNIQUE CK spill q24 queries use a birth-country 
equality predicate that differs from their ordinary-query counterparts, and 
their expected outputs are stale. This causes false regression failures.
   
   This PR changes the four spill-query predicates to `c_birth_country <> 
upper(ca_country)` and regenerates the four expected outputs as empty results 
for the current SF1 queries. The existing current-address join and spill 
settings remain unchanged.
   
   The complete change applies without conflicts or branch-specific 
adaptations. Only eight regression SQL/expected-output files change; there is 
no product behavior change.
   
   ### Release note
   
   None
   
   ### Check List (For Author)
   
   - Test:
       - [x] `./build.sh --be --fe`: Release BE/FE build and FE Checkstyle 
passed.
       - [x] `./run-regression-test.sh --compile`: regression framework build 
passed, with 35 unit tests and no failures, errors, or skips.
       - [x] Regenerated all four spill q24 outputs and independently reran all 
four without generation; verified four ordinary q24 controls and two spill q01 
controls. All 14 suite executions passed, with no failures, fatal errors, or 
skips. Both nonempty q01 controls matched their existing 100-row baselines.
       - [x] `./build-support/check-format.sh` and `git diff --check` passed.
   - Behavior changed:
       - [x] No product behavior change; regression SQL and expected outputs 
only.
   - Does this need documentation?
       - [x] No.
   
   Validation used locally generated TPC-DS 3.2.0rc2 SF1 data, loaded into both 
table layouts (48 tables in total). Native SQL validation only; Java UDF 
execution, ASAN, full BE/FE unit-test suites, and the full regression suite 
were not run.
   
   Regression commands (`<regression-conf>` denotes the local connection 
configuration):
   
   ```bash
   ./run-regression-test.sh --conf <regression-conf> --run -d 
tpcds_sf1_unique_p1/spill,tpcds_sf1_unique_ck_p1/spill -s 
q24_1_spill,q24_2_spill -parallel 1 -forceGenOut
   ./run-regression-test.sh --conf <regression-conf> --run -d 
tpcds_sf1_unique_p1/spill,tpcds_sf1_unique_ck_p1/spill -s 
q24_1_spill,q24_2_spill -parallel 1
   ./run-regression-test.sh --conf <regression-conf> --run -d 
tpcds_sf1_unique_p1/sql,tpcds_sf1_unique_ck_p1/sql -s q24_1,q24_2 -parallel 1
   ./run-regression-test.sh --conf <regression-conf> --run -d 
tpcds_sf1_unique_p1/spill,tpcds_sf1_unique_ck_p1/spill -s q01_spill -parallel 1
   ```


-- 
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