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

Commit

Permalink
Implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
vaultah committed Feb 8, 2024
1 parent 6215ff6 commit 46de11c
Show file tree
Hide file tree
Showing 3 changed files with 239 additions and 64 deletions.
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

0 comments on commit 46de11c

Please sign in to comment.