Skip to content

Add batch planFetchForProcessing API to FetchPlanner#17816

Open
rhodo wants to merge 2 commits intoapache:masterfrom
rhodo:refactor_planmaker
Open

Add batch planFetchForProcessing API to FetchPlanner#17816
rhodo wants to merge 2 commits intoapache:masterfrom
rhodo:refactor_planmaker

Conversation

@rhodo
Copy link
Collaborator

@rhodo rhodo commented Mar 4, 2026

Replace per-segment planFetchForProcessing(IndexSegment, QueryContext) with a batch planFetchForProcessing(List, QueryContext) on the FetchPlanner interface. This allows implementations to precompute query-derived information once instead of redundantly per segment.

@rhodo rhodo marked this pull request as ready for review March 4, 2026 22:47
@codecov-commenter
Copy link

codecov-commenter commented Mar 4, 2026

Codecov Report

❌ Patch coverage is 73.33333% with 4 lines in your changes missing coverage. Please review.
✅ Project coverage is 63.23%. Comparing base (9b35755) to head (b5cac3f).
⚠️ Report is 30 commits behind head on master.

Files with missing lines Patch % Lines
...pinot/core/plan/maker/InstancePlanMakerImplV2.java 50.00% 3 Missing and 1 partial ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##             master   #17816      +/-   ##
============================================
+ Coverage     63.21%   63.23%   +0.02%     
- Complexity     1454     1456       +2     
============================================
  Files          3183     3188       +5     
  Lines        191428   191738     +310     
  Branches      29273    29348      +75     
============================================
+ Hits         121003   121241     +238     
- Misses        60984    61010      +26     
- Partials       9441     9487      +46     
Flag Coverage Δ
custom-integration1 100.00% <ø> (ø)
integration 100.00% <ø> (ø)
integration1 100.00% <ø> (ø)
integration2 0.00% <ø> (ø)
java-11 63.21% <73.33%> (+0.04%) ⬆️
java-21 63.18% <73.33%> (-0.02%) ⬇️
temurin 63.23% <73.33%> (+0.02%) ⬆️
unittests 63.22% <73.33%> (+0.02%) ⬆️
unittests1 55.56% <73.33%> (-0.03%) ⬇️
unittests2 34.15% <0.00%> (+0.02%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@rhodo rhodo requested a review from Jackie-Jiang March 5, 2026 00:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants