suxiaogang223 opened a new pull request, #60947:
URL: https://github.com/apache/doris/pull/60947
### What problem does this PR solve?
Issue Number: N/A
Related PR: N/A
Problem Summary:
`external_table_p0/hive/test_hive_compress_type.groovy` had a fixed split
assertion (`28`) for multi-BE, which is not stable across environments.
The split behavior for COUNT pushdown depends on both `backendNum` and
`parallel_fragment_exec_instance_num`, so internal 3BE pipeline could still
produce `16` and fail.
This PR makes the assertion BE-aware and deterministic:
- read `backendNum` via `show backends`
- read `parallel_fragment_exec_instance_num` via `show variables`
- compute expected split count with the same condition as FE logic
- add comments to explain why this check differs between environments
### Release note
None
### Check List (For Author)
- Test <!-- At least one of them must be included. -->
- [x] Regression test
- [ ] Unit Test
- [ ] Manual test (add detailed scripts or steps below)
- [ ] No need to test or manual test. Explain why:
- [ ] This is a refactor/code format and no logic has been changed.
- [ ] 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]