kfaraz commented on code in PR #15965:
URL: https://github.com/apache/druid/pull/15965#discussion_r1546024386


##########
processing/src/main/java/org/apache/druid/timeline/CompactionState.java:
##########
@@ -146,4 +149,29 @@ public String toString()
            ", metricsSpec=" + metricsSpec +
            '}';
   }
+
+  public static Function<Set<DataSegment>, Set<DataSegment>> 
compactionStateAnnotateFunction(

Review Comment:
   Should we just call this `addCompactionStateToSegments()`
   "Annotate" seems vague.



##########
processing/src/main/java/org/apache/druid/timeline/CompactionState.java:
##########
@@ -146,4 +149,29 @@ public String toString()
            ", metricsSpec=" + metricsSpec +
            '}';
   }
+
+  public static Function<Set<DataSegment>, Set<DataSegment>> 
compactionStateAnnotateFunction(

Review Comment:
   Should we just call this `addCompactionStateToSegments()` ?
   "Annotate" seems vague.



-- 
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...@druid.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@druid.apache.org
For additional commands, e-mail: commits-h...@druid.apache.org

Reply via email to