soumya-ghosh commented on code in PR #1066: URL: https://github.com/apache/iceberg-python/pull/1066#discussion_r1719803725
########## pyiceberg/table/__init__.py: ########## @@ -4365,6 +4365,10 @@ def _readable_metrics_struct(bound_type: PrimitiveType) -> pa.StructType: for manifest_list in snapshot.manifests(io): for manifest_entry in manifest_list.fetch_manifest_entry(io): data_file = manifest_entry.data_file + if file_content_type == "data" and data_file.content != DataFileContent.DATA: + continue + if file_content_type == "delete" and data_file.content == DataFileContent.DATA: Review Comment: Updated signature of _files() to use `DataFileContent` Enum, had to use a list, as there are two types in case of delete files. -- 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