hailin0 commented on code in PR #9111: URL: https://github.com/apache/seatunnel/pull/9111#discussion_r2026617541
########## seatunnel-connectors-v2/connector-amazondynamodb/src/main/java/org/apache/seatunnel/connectors/seatunnel/amazondynamodb/source/AmazonDynamoDBSourceSplit.java: ########## @@ -28,6 +28,7 @@ @Setter public class AmazonDynamoDBSourceSplit implements SourceSplit { + private static final long serialVersionUID = -5148142613656330674L; Review Comment: To be compatible with older versions, you should get the id automatically generated by the old version ``` import java.io.ObjectStreamClass; public class SerialVersionUIDChecker { public static void main(String[] args) { long serialVersionUID = ObjectStreamClass.lookup(AmazonDynamoDBSourceSplit.class).getSerialVersionUID(); System.out.println("serialVersionUID = " + serialVersionUID); } } ``` -- 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: commits-unsubscr...@seatunnel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org