boyuanzz commented on a change in pull request #12287: URL: https://github.com/apache/beam/pull/12287#discussion_r456196686
########## File path: runners/core-construction-java/src/main/java/org/apache/beam/runners/core/construction/graph/SplittableParDoExpander.java ########## @@ -69,6 +69,31 @@ public static TransformReplacement createSizedReplacement() { return SizedReplacement.INSTANCE; } + /** + * Returns a transform replacement in drain mode which expands a splittable ParDo from: + * + * <pre>{@code + * sideInputA ---------\ + * sideInputB ---------V + * mainInput ---> SplittableParDo --> outputA + * \-> outputB + * }</pre> + * + * into: + * + * <pre>{@code + * sideInputA ---------\---------------------\----------------------\--------------------------\ + * sideInputB ---------V---------------------V----------------------V--------------------------V + * mainInput ---> PairWithRestriction --> SplitAndSize --> TruncateAndSize --> ProcessSizedElementsAndRestriction --> outputA + * \-> outputB + * }</pre> + * + * . Review comment: This required by checkstyleMain: The first sentence should be ended with a period. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org