krishan1390 opened a new pull request, #18695:
URL: https://github.com/apache/pinot/pull/18695

   `SingleTableExecutionInfo#getNumSegmentsAcquired()` counts data managers, so 
a manager that exposes multiple `IndexSegment`s under a single map entry (via 
`hasMultiSegments()` / `getSegments()`) under-reports `numSegmentsQueried` 
relative to `numSegmentsPrunedByServer` and `numSegmentsProcessed`, which are 
computed on the expanded index-segment list. On such a table 
`numSegmentsPruned` can exceed `numSegmentsQueried`.
   
   This adds `SegmentDataManager#getNumQueriedSegments()` (default 1) and sums 
it across acquired managers. The default preserves existing behavior — 
including `DuoSegmentDataManager`, which represents one logical segment during 
the commit window and stays at 1. A manager that folds multiple independently 
addressable segments under one map entry overrides it to its member count.
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)


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