abstractdog commented on code in PR #326:
URL: https://github.com/apache/tez/pull/326#discussion_r1894644288


##########
tez-runtime-library/src/main/java/org/apache/tez/runtime/library/common/CompositeInputAttemptIdentifier.java:
##########
@@ -50,6 +50,12 @@ public InputAttemptIdentifier expand(int 
inputIdentifierOffset) {
     return new InputAttemptIdentifier(getInputIdentifier() + 
inputIdentifierOffset, getAttemptNumber(), getPathComponent(), isShared(), 
getFetchTypeInfo(), getSpillEventId());
   }
 
+  public boolean include(int thatInputIdentifier, int thatAttemptNumber) {

Review Comment:
   nit: this is more like "includes" because the method answers a question like 
whether this composite identifier includes another one, rather that taking and 
action



##########
tez-runtime-library/src/main/java/org/apache/tez/runtime/library/common/CompositeInputAttemptIdentifier.java:
##########
@@ -50,6 +50,12 @@ public InputAttemptIdentifier expand(int 
inputIdentifierOffset) {
     return new InputAttemptIdentifier(getInputIdentifier() + 
inputIdentifierOffset, getAttemptNumber(), getPathComponent(), isShared(), 
getFetchTypeInfo(), getSpillEventId());
   }
 
+  public boolean include(int thatInputIdentifier, int thatAttemptNumber) {

Review Comment:
   nit: this is more like "includes" because the method answers a question like 
whether this composite identifier includes another one, rather than taking and 
action



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to