xushiyan commented on code in PR #18082:
URL: https://github.com/apache/hudi/pull/18082#discussion_r2766566297


##########
hudi-flink-datasource/hudi-flink/src/main/java/org/apache/hudi/source/split/HoodieSourceSplit.java:
##########
@@ -36,7 +36,7 @@
  */
 @Getter
 public class HoodieSourceSplit implements SourceSplit, Serializable {
-  public static AtomicInteger SPLIT_COUNTER = new AtomicInteger(0);
+  public static AtomicInteger SPLIT_COUNTER = new AtomicInteger(-1);

Review Comment:
   let's call it split_id_gen then, split "counter" is for counting, so the var 
name can be misleading.



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