Skip to content

Commit 3404bd0

Browse files
committed
fix
1 parent 8ca6bfa commit 3404bd0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

paimon-python/pypaimon/read/scanner/incremental_starting_scanner.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def plan_files(self) -> List[ManifestEntry]:
3535
snapshots_in_range = []
3636
for snapshot_id in range(self.startingSnapshotId + 1, self.endingSnapshotId + 1):
3737
snapshot = self.snapshot_manager.get_snapshot_by_id(snapshot_id)
38-
if snapshot:
38+
if snapshot.commit_kind == "APPEND":
3939
snapshots_in_range.append(snapshot)
4040

4141
# Collect all file entries from all snapshots in range

0 commit comments

Comments
 (0)