neuyilan commented on code in PR #4844:
URL: https://github.com/apache/paimon/pull/4844#discussion_r1921718379
##########
paimon-flink/paimon-flink-common/src/main/java/org/apache/paimon/flink/clone/CloneFileInfo.java:
##########
@@ -18,29 +18,35 @@
package org.apache.paimon.flink.clone;
+import javax.annotation.Nullable;
+
/** The information of copy file. */
public class CloneFileInfo {
-
- private final String sourceFilePath;
- private final String filePathExcludeTableRoot;
+ @Nullable private final String sourceFilePath;
+ @Nullable private final String filePathExcludeTableRoot;
private final String sourceIdentifier;
private final String targetIdentifier;
+ private final long snapshotId;
Review Comment:
The problem is that, when snapshot1 is expired, then the
`data-file1.parquet` will be deleted. when we read the `manifest-file1` and
copy `data-file1.parquet`, it will always fail, because the file do not exist.
--
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]