You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pinot.apache.org by "snleee (via GitHub)" <gi...@apache.org> on 2023/03/31 05:01:05 UTC
[GitHub] [pinot] snleee commented on a diff in pull request #10412: Combine "GET /segments" API & "GET /segments/{tableName}/select"
snleee commented on code in PR #10412:
URL: https://github.com/apache/pinot/pull/10412#discussion_r1154015133
##########
pinot-spi/src/main/java/org/apache/pinot/spi/utils/builder/ControllerRequestURLBuilder.java:
##########
@@ -379,26 +379,45 @@ public String forDeleteTableWithType(String tableName, String tableType) {
}
public String forSegmentListAPI(String tableName) {
- return forSegmentListAPI(tableName, null, false);
+ return forSegmentListAPI(tableName, null, false, Long.MIN_VALUE, Long.MAX_VALUE, false);
}
public String forSegmentListAPI(String tableName, String tableType) {
- return forSegmentListAPI(tableName, tableType, false);
+ return forSegmentListAPI(tableName, tableType, false, Long.MIN_VALUE, Long.MAX_VALUE, false);
}
- public String forSegmentListAPI(String tableName, @Nullable String tableType, boolean excludeReplacedSegments) {
+ public String forSegmentListAPI(String tableName, String tableType, boolean excludeReplacedSegments) {
+ return forSegmentListAPI(tableName, tableType, excludeReplacedSegments, Long.MIN_VALUE, Long.MAX_VALUE, false);
+ }
+
+ public String forSegmentListAPI(String tableName, @Nullable String tableType, boolean excludeReplacedSegments,
+ long startTimestamp, long endTimestamp, boolean excludeOverlapping) {
String url = StringUtil.join("/", _baseUrl, "segments", tableName);
+ String urlParameter = "";
Review Comment:
fixed
--
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: commits-unsubscribe@pinot.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org