cshuo commented on code in PR #13592:
URL: https://github.com/apache/hudi/pull/13592#discussion_r2255695125


##########
hudi-flink-datasource/hudi-flink/src/main/java/org/apache/hudi/source/StreamReadMonitoringFunction.java:
##########
@@ -292,4 +341,25 @@ public String getIssuedOffset() {
     return issuedOffset;
   }
 
+  private static class SplitState implements Serializable {
+    private int totalSplits;
+    private List<MergeOnReadInputSplit> remainingSplits;

Review Comment:
   New instance of `SplitState` is created in `snapshotState ()`, we can 
initialize the fields directly in constructor of `SplitState` instead of by 
setting?



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