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

   ### What problem does this PR solve?
   
   Issue Number: None
   
   Related PR: None
   
   Problem Summary: VariantAssembler scanned every flat materialized path for 
every row even when only a small fraction of paths were present. This change 
builds a batch-local active-slot index only for the narrow whole-root, flat, 
non-conflicting layout and keeps all other layouts on the existing generic 
path. On the fixed 10 GB workload with 2,000 materialized paths and 20 values 
per row, the wall median decreases from 77.7376 to 75.0729 seconds and BE CPU 
decreases from 245.04 to 227.51 core-seconds, improvements of 3.43% and 7.15% 
respectively.
   
   ### Release note
   
   None
   
   ### Check List (For Author)
   
   - Test
       - [ ] Regression test
       - [x] Unit Test
           - ASAN BE UT: `VariantAssemblerLegacyTest.*`, 33/33 passed.
       - [x] Manual test
           - One warmup and three measured trials on the fixed 10 GB sparse 
workload.
       - [ ] No need to test or manual test. Explain why:
   
   - Behavior changed:
       - [x] No.
       - [ ] 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