robertzych commented on code in PR #10463:
URL: https://github.com/apache/pinot/pull/10463#discussion_r1155349098


##########
pinot-common/src/main/java/org/apache/pinot/common/utils/SegmentUtils.java:
##########
@@ -38,15 +38,18 @@ private SegmentUtils() {
   // path.
   @Nullable
   public static Integer getRealtimeSegmentPartitionId(String segmentName, 
String realtimeTableName,
-      HelixManager helixManager, @Nullable String partitionColumn) {
+      HelixManager helixManager, @Nullable String partitionColumn,

Review Comment:
   I've reverted this change, added a separate overload for when the 
segmentZKMetadata is available, and refactored this to use a new private 
overload that accepts either a HelixManager or SegmentZKMetadata to reduce 
duplication.



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

Reply via email to