Hisoka-X commented on code in PR #5100:
URL: https://github.com/apache/seatunnel/pull/5100#discussion_r1419096525
##########
seatunnel-connectors-v2/connector-file/connector-file-base/src/main/java/org/apache/seatunnel/connectors/seatunnel/file/source/split/FileSourceSplitEnumerator.java:
##########
@@ -54,15 +57,18 @@ public FileSourceSplitEnumerator(
@Override
public void open() {
- this.pendingSplit = new HashSet<>();
+ this.pendingSplit.addAll(discoverySplits());
}
@Override
public void run() {
- // do nothing
+ for (int i = 0; i < context.currentParallelism(); i++) {
+ LOGGER.info("Assigned splits to reader [{}]", i);
+ assignSplit(i);
+ }
Review Comment:
You are right. Seem CI passed, ignore this one.
--
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]