npawar commented on a change in pull request #4117: Admin tool for listing
segments with invalid intervals for offline tables
URL: https://github.com/apache/incubator-pinot/pull/4117#discussion_r276415961
##########
File path:
pinot-common/src/main/java/org/apache/pinot/common/config/TableNameBuilder.java
##########
@@ -122,4 +122,11 @@ public static String extractRawTableName(@Nonnull String
tableName) {
public static boolean isTableResource(@Nonnull String resourceName) {
return OFFLINE.tableHasTypeSuffix(resourceName) ||
REALTIME.tableHasTypeSuffix(resourceName);
}
+
+ /**
+ * Return whether the given resource name represents an offline table
resource.
+ */
+ public static boolean isOfflineTableResource(@Nonnull String resourceName) {
Review comment:
Wanted to make one similar to the method above (isTableResource), but only
for OFFLINE
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]