danny0405 commented on code in PR #18212:
URL: https://github.com/apache/hudi/pull/18212#discussion_r2838884479


##########
hudi-flink-datasource/hudi-flink/src/main/java/org/apache/hudi/source/split/HoodieSourceSplitSerializer.java:
##########
@@ -82,6 +83,21 @@ public byte[] serialize(HoodieSourceSplit obj) throws 
IOException {
       // Serialize fileOffset
       out.writeInt(obj.getFileOffset());
 
+      // Serialize instant range (Option<InstantRange>)
+      out.writeBoolean(obj.getInstantRange().isPresent());
+      if (obj.getInstantRange().isPresent()) {

Review Comment:
   we may need more info to construct the instant range, like the 
`nullableBoundary` and `explicitInstants`.



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