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

   This PR: GET /tables/{tableName}/partitionCount + PARTITIONCOUNT in 
consuming summary
   
   - Adds a controller endpoint to return the partition count for a realtime 
table.
   
   - Logic: if there are CONSUMING segments, compute unique partition IDs from 
them; otherwise use ONLINE segments in IdealState. Returns JSON: 
{"partitionCount": <int>}.
   <img width="1418" height="673" alt="Screenshot 2025-09-23 at 8 18 52 PM" 
src="https://github.com/user-attachments/assets/3e7e42c8-13a3-4175-927a-a435b786254a";
 />
   
   
   Also adds PARTITIONCOUNT to the consumingSegmentsInfo API summary.
   <img width="1436" height="818" alt="Screenshot 2025-09-23 at 8 19 42 PM" 
src="https://github.com/user-attachments/assets/0b9fbaa5-a9b2-4983-8f0c-7f473c8dd3d0";
 />
   


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