Hisoka-X commented on code in PR #8989: URL: https://github.com/apache/seatunnel/pull/8989#discussion_r2013776466
########## seatunnel-connectors-v2/connector-file/connector-file-base/src/main/java/org/apache/seatunnel/connectors/seatunnel/file/source/split/MultipleTableFileSourceSplitEnumerator.java: ########## @@ -92,16 +103,7 @@ public int currentUnassignedSplitSize() { public void handleSplitRequest(int subtaskId) {} @Override - public void registerReader(int subtaskId) { - for (Map.Entry<String, List<String>> filePathEntry : filePathMap.entrySet()) { - String tableId = filePathEntry.getKey(); - List<String> filePaths = filePathEntry.getValue(); - for (String filePath : filePaths) { - allSplit.add(new FileSourceSplit(tableId, filePath)); - } - } - assignSplit(subtaskId); - } + public void registerReader(int subtaskId) {} Review Comment: Of course you can, but remember that this code will be executed multiple times. -- 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: commits-unsubscr...@seatunnel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org