liunaijie commented on issue #8803:
URL: https://github.com/apache/seatunnel/issues/8803#issuecomment-2697067552

   Hi, this is a bug. 
   
https://github.com/apache/seatunnel/blob/dev/seatunnel-connectors-v2/connector-clickhouse/src/main/java/org/apache/seatunnel/connectors/seatunnel/clickhouse/source/ClickhouseSourceSplitEnumerator.java#L77
   
   Sometimes the reader register to enumerator at same time, so multiple reader 
receive query task. We need add a lock.
   
   And looks it's not support `SupportParallelism`, the query can only run on 1 
reader. 
   ```
   if (assigned < 0 ){
      assigned = subTaskId;
     // so next time other reader won't be assign read task. Means not support 
`SupportParallelism`
   }
   ```
   
   cc @Hisoka-X , Please correct me if I am wrong.
   


-- 
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]

Reply via email to