spoorthibasu commented on code in PR #4360:
URL: https://github.com/apache/flink-cdc/pull/4360#discussion_r3330820342
##########
flink-cdc-connect/flink-cdc-pipeline-connectors/flink-cdc-pipeline-connector-iceberg/src/main/java/org/apache/flink/cdc/connectors/iceberg/sink/v2/WriteResultWrapper.java:
##########
@@ -40,17 +40,31 @@ public class WriteResultWrapper implements Serializable {
private final String operatorId;
+ /** Batch index within the checkpoint for this table; increments on each
schema-change flush. */
+ private final int batchIndex;
Review Comment:
Done, bumped VERSION to 2 and deserialize now accepts both 1 and 2. They use
the same byte layout, so old v1 state still reads back with batchIndex
defaulting to 0.
--
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]