ankitsultana commented on code in PR #13837: URL: https://github.com/apache/pinot/pull/13837#discussion_r1733631826
########## pinot-segment-local/src/main/java/org/apache/pinot/segment/local/utils/IngestionUtils.java: ########## @@ -169,6 +170,16 @@ private static SegmentNameGenerator getSegmentNameGenerator(BatchConfig batchCon case BatchConfigProperties.SegmentNameGeneratorType.SIMPLE: return new SimpleSegmentNameGenerator(rawTableName, batchConfig.getSegmentNamePostfix(), batchConfig.isAppendUUIDToSegmentName(), batchConfig.isExcludeTimeInSegmentName()); + case BatchConfigProperties.SegmentNameGeneratorType.UPLOADED_REALTIME: + int uploadedRealtimePartitionId; + try { + uploadedRealtimePartitionId = Integer.parseInt(batchConfig.getUploadedRealtimePartitionId()); + } catch (NumberFormatException e) { + throw new IllegalStateException( Review Comment: nit: `IllegalArgumentException`? -- 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