bvolpato commented on code in PR #27032:
URL: https://github.com/apache/beam/pull/27032#discussion_r1227471511
##########
sdks/java/core/src/main/java/org/apache/beam/sdk/transforms/reflect/ByteBuddyDoFnInvokerFactory.java:
##########
@@ -432,7 +432,7 @@ public static <InputT, OutputT> double invokeGetSize(
.getProgress()
.getWorkRemaining();
} else {
- return 1.0;
+ return 0.0;
Review Comment:
Maybe adding a comment with the rationale for returning 0 will be useful for
the next person
--
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]