jackjlli commented on a change in pull request #7651:
URL: https://github.com/apache/pinot/pull/7651#discussion_r737929215



##########
File path: 
pinot-controller/src/main/java/org/apache/pinot/controller/api/resources/PinotSegmentRestletResource.java
##########
@@ -657,6 +663,42 @@ public String getServerMetadata(
     return segmentsMetadata;
   }
 
+  @GET
+  @Path("segments/{tableName}/select")
+  @Produces(MediaType.APPLICATION_JSON)
+  @ApiOperation(value = "Get the selected segments given the (inclusive) start 
and (exclusive) end timestamps"
+      + " in milliseconds. If no timestamps are provided, all the segments 
will be returned.",
+      notes = "Get the selected segments given the start and end timestamps in 
milliseconds")
+  public List<Map<TableType, List<String>>> getSelectedSegments(

Review comment:
       If the table is a refresh use case, the value of start and end timestamp 
is voided, since there is no time column for refresh use case; instead, the 
whole qualified segments will be returned.




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