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

   ### What problem does this PR solve?
   
   Issue Number: N/A
   
   Related PR: #70105
   
   Problem Summary:
   
   Backport #70105 to `branch-4.2`.
   
   `eliminate_distinct_constant` and `eliminate_aggregate_constant` both drop, 
create, and use `test_aggregate_constant`. When the regression runner executes 
them concurrently, either suite can drop the database while the other is 
inserting or querying, causing intermittent failures.
   
   Give `eliminate_distinct_constant` its own database, 
`test_distinct_constant`, by updating its three database setup statements. The 
existing SQL assertions and expected results are unchanged.
   
   ### Release note
   
   None
   
   ### Check List (For Author)
   
   - Test
       - [ ] Regression test
       - [ ] Unit Test
       - [ ] Manual test (add detailed scripts or steps below)
       - [x] No need to test or manual test. Explain why:
           - [x] Other reason: This test-only change replaces three database 
identifiers. Static checks confirmed that the new database name is unique to 
this suite, the suites no longer share a database, and `git diff --check` 
passes. Live regression execution was not performed.
   
   - Behavior changed:
       - [x] No. Product behavior is unchanged; this change isolates 
regression-test data.
       - [ ] Yes.
   
   - Does this need documentation?
       - [x] No.
       - [ ] Yes.
   
   ### Check List (For Reviewer who merge this PR)
   
   - [ ] Confirm the release note
   - [ ] Confirm test cases
   - [ ] Confirm document
   - [ ] Add branch pick label
   


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