Fokko commented on PR #1613:
URL: https://github.com/apache/iceberg-python/pull/1613#issuecomment-2640210928

   @jacobmarble I'm able to read both of them:
   
   ```python
   def test_starburst():
       io = load_file_io()
       snapshot = Snapshot(
           snapshot_id=25,
           parent_snapshot_id=19,
           timestamp_ms=1602638573590,
           
manifest_list="/Users/fokko.driesprong/Downloads/starburst.sample.2024-feb/manifest-list-starburst.avro",
           summary=Summary(Operation.APPEND),
           schema_id=3,
       )
       entries = list(snapshot.manifests(io))
       entries
   
       input_file = 
io.new_input("/Users/fokko.driesprong/Downloads/starburst.sample.2024-feb/manifest-starburst.avro")
       with AvroFile[ManifestEntry](
               input_file,
               MANIFEST_ENTRY_SCHEMAS[2],
               read_types={-1: ManifestEntry, 2: DataFile},
               read_enums={0: ManifestEntryStatus, 101: FileFormat, 134: 
DataFileContent},
       ) as reader:
           data_files = [
               entry
               for entry in reader
           ]
   
       data_files
   ```
   
   Can you share the stacktrace you're seeing?


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to