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

   ### What problem does this PR solve?
   
   Issue Number: N/A
   
   Related PR: #60947
   
   Problem Summary:
   
   `external_table_p0/hive/test_hive_compress_type.groovy` uses a fixed split 
assertion (`16`) after `set file_split_size=8388608`.
   This is stable in single-BE environments, but it can fail in multi-BE 
pipelines because Hive COUNT pushdown split behavior depends on both 
`backendNum` and `parallel_fragment_exec_instance_num`.
   
   Community CI is typically single-BE and keeps the expected split count at 
`16`.
   Internal CI runs with multiple BEs, so the same query can produce `82` scan 
ranges when `16 < parallel_fragment_exec_instance_num * backendNum`.
   
   This PR makes the second explain assertion BE-aware and deterministic:
   - reuse the existing `backendNum` and `parallel_fragment_exec_instance_num` 
inputs in the case
   - compute the expected split count for the `file_split_size=8388608` branch 
with the same FE condition
   - keep `16` for single-BE or low-parallelism environments, and expect `82` 
when the multi-BE split condition is met
   
   ### Release note
   
   None
   
   ### Check List (For Author)
   
   - Test <!-- At least one of them must be included. -->
       - [ ] Regression test
       - [ ] Unit Test
       - [ ] Manual test (add detailed scripts or steps below)
       - [x] No need to test or manual test. Explain why:
           - [ ] This is a refactor/code format and no logic has been changed.
           - [x] Previous test can cover this change.
           - [ ] No code files have been changed.
           - [ ] Other reason <!-- Add your reason?  -->
   
   - Behavior changed:
       - [x] No.
       - [ ] Yes. <!-- Explain the behavior change -->
   
   - Does this need documentation?
       - [x] No.
       - [ ] Yes. <!-- Add document PR link here. eg: 
https://github.com/apache/doris-website/pull/1214 -->
   
   ### Check List (For Reviewer who merge this PR)
   
   - [ ] Confirm the release note
   - [ ] Confirm test cases
   - [ ] Confirm document
   - [ ] Add branch pick label <!-- Add branch pick label that this PR should 
merge into -->
   


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