BiteTheDDDDt opened a new pull request, #64392:
URL: https://github.com/apache/doris/pull/64392
### What problem does this PR solve?
Issue Number: None
Related PR: None
Problem Summary: Runtime-filter partition-pruning regression tests read FE
query profiles immediately after query completion. Query completion does not
guarantee that asynchronous BE profile reports have been merged, so the tests
can see RF pruning counters before their final values and fail with zero
partition counters. This change exposes a profile completion state in the query
profile REST list based on ExecutionProfile.isCompleted(), persists the
terminal state before profile spill, and updates the RF pruning profile pollers
to wait for COMPLETE before reading counter values.
### Release note
None
### Check List (For Author)
- Test: Manual test
- Ran git diff --check.
- Tried ./run-fe-ut.sh --run
org.apache.doris.common.profile.ProfileManagerTest#getProfileCompletionStateInQueryList,
but fe-core compilation failed before running the test because generated
parser/proto classes are inconsistent with Java sources.
- Behavior changed: Yes. /rest/v1/query_profile rows include Profile
Completion State.
- Does this need documentation: 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]