rdblue commented on code in PR #6933: URL: https://github.com/apache/iceberg/pull/6933#discussion_r1117793313
########## python/pyiceberg/table/snapshots.py: ########## @@ -117,12 +125,369 @@ def manifests(self, io: FileIO) -> List[ManifestFile]: return list(read_manifest_list(file)) return [] + def added_data_files(self, io: FileIO) -> Generator[DataFile, None, None]: + for manifest in self.manifests(io): + yield from [entry.data_file for entry in manifest.fetch_manifest_entry(io)] Review Comment: These entries are not necessarily live. For live data files, check `entry.status < DELETED` (2) -- 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: issues-unsubscr...@iceberg.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For additional commands, e-mail: issues-h...@iceberg.apache.org