Skip to content
This repository has been archived by the owner on Feb 19, 2024. It is now read-only.

Copy table with delete manifests #1

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion core/src/main/java/org/apache/iceberg/ManifestFiles.java
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ public static CloseableIterable<String> readPaths(ManifestFile manifest, FileIO
public static CloseableIterable<Pair<String, Long>> readPathsWithSnapshotId(
ManifestFile manifest, FileIO io) {
return CloseableIterable.transform(
read(manifest, io, null).select(ImmutableList.of("file_path", "snapshot_id")).liveEntries(),
open(manifest, io, null).select(ImmutableList.of("file_path", "snapshot_id")).liveEntries(),
entry -> Pair.of(entry.file().path().toString(), entry.snapshotId()));
}

Expand Down
Loading
Loading