You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pinot.apache.org by "robertzych (via GitHub)" <gi...@apache.org> on 2023/04/02 17:36:17 UTC

[GitHub] [pinot] robertzych commented on a diff in pull request #10463: Segment compaction for upsert real-time tables

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