kennknowles commented on code in PR #25871: URL: https://github.com/apache/beam/pull/25871#discussion_r1139416559
########## sdks/java/core/src/main/java/org/apache/beam/sdk/io/Read.java: ########## @@ -290,12 +289,17 @@ public void splitRestriction( long estimatedSize = restriction.getEstimatedSizeBytes(pipelineOptions); // Split into pieces as close to the default desired bundle size but if that would cause too // few splits then prefer to split up to the default desired number of splits. - long splitBundleSize = - Math.min( - DEFAULT_DESIRED_BUNDLE_SIZE_BYTES, - Math.max(1L, estimatedSize / DEFAULT_DESIRED_NUM_SPLITS)); Review Comment: It is used in the unbounded source wrapper, but I have little context on that. -- 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: github-unsubscr...@beam.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org