You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@paimon.apache.org by "wxplovecc (via GitHub)" <gi...@apache.org> on 2023/03/23 02:17:20 UTC
[GitHub] [incubator-paimon] wxplovecc commented on a diff in pull request #687: [flink] Assign splits with fixed batch size in StaticFileStoreSplitEnumerator
wxplovecc commented on code in PR #687:
URL: https://github.com/apache/incubator-paimon/pull/687#discussion_r1145595987
##########
paimon-flink/paimon-flink-common/src/main/java/org/apache/paimon/flink/source/StaticFileStoreSplitEnumerator.java:
##########
@@ -79,10 +82,15 @@ public void handleSplitRequest(int subtask, @Nullable String hostname) {
// The following batch assignment operation is for two purposes:
// To distribute splits evenly when batch reading to prevent a few tasks from reading all
// the data (for example, the current resource can only schedule part of the tasks).
- // TODO: assignment is already created in constructor, here can just assign per batch
- List<FileStoreSourceSplit> splits = pendingSplitAssignment.remove(subtask);
Review Comment:
+1
--
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: issues-unsubscribe@paimon.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org