walterddr commented on a change in pull request #7085: URL: https://github.com/apache/pinot/pull/7085#discussion_r707728031
########## File path: pinot-segment-spi/src/main/java/org/apache/pinot/segment/spi/creator/name/FixedSegmentNameGenerator.java ########## @@ -28,6 +29,8 @@ private final String _segmentName; public FixedSegmentNameGenerator(String segmentName) { + Preconditions.checkArgument( Review comment: ```suggestion Preconditions.checkArgument(segmentName != null && isValidSegmentName(segmentName)); ``` -- 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-unsubscr...@pinot.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org For additional commands, e-mail: commits-h...@pinot.apache.org