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

   ### What problem does this PR solve?
   
   Issue Number: N/A
   
   Related PR: N/A
   
   Problem Summary: Existing OLAP scan profiles only expose aggregate filter 
counters, making it hard to understand the selectivity of each conjunct, 
runtime filter, key range, and index-related filtering step. This PR adds 
scan-local filter IDs and materializes detailed ScanFilterInfo and KeyRangeInfo 
profile sections. Per-filter counters now show input rows, output rows, 
filtered rows, stage participation, source expression or runtime filter debug 
text, and runtime filter wait/always-true data where applicable. Empty runtime 
filter fields are omitted for scans without runtime filters, and runtime filter 
IDs remain distinct from scan filter IDs.
   
   ### Release note
   
   Add detailed OLAP scan filter profile counters in query profile.
   
   ### Check List (For Author)
   
   - Test: Manual test
       - ./build.sh --be
       - Ran local profile_level=2 scan and runtime-filter join queries on 
scan_filter_profile_db and checked generated profiles
   - Behavior changed: Yes. Query profile includes detailed OLAP ScanFilterInfo 
and KeyRangeInfo counters.
   - 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]

Reply via email to