You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@seatunnel.apache.org by GitBox <gi...@apache.org> on 2022/09/21 02:56:01 UTC

[GitHub] [incubator-seatunnel] hailin0 commented on a diff in pull request #2823: [Bug] [Connector-V2] Fix hive source connector parallelism not work

hailin0 commented on code in PR #2823:
URL: https://github.com/apache/incubator-seatunnel/pull/2823#discussion_r975987917


##########
seatunnel-connectors-v2/connector-file/connector-file-base/src/main/java/org/apache/seatunnel/connectors/seatunnel/file/source/split/FileSourceSplitEnumerator.java:
##########
@@ -56,45 +55,54 @@ public void open() {
 
     @Override
     public void run() {
-        pendingSplit = getHiveFileSplit();
-        assignSplit(context.registeredReaders());
+        // do nothing

Review Comment:
   line#52  `assignedSplit` cannot be re -initialized, it may contain restore state



-- 
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-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org