andormarkus commented on issue #1751:
URL:
https://github.com/apache/iceberg-python/issues/1751#issuecomment-2695366541
Hi @Fokko
Based on the source code writing to manifest / Avro can be achieved like this
```python
manifest_path = f"temp-manifest-{uuid.uuid4()}.avro"
output_file = io.new_output(manifest_path)
# Write all datafiles to the manifest
with write_manifest(format_version, spec, schema, output_file, snapshot_id)
as writer:
for datafile in datafiles:
writer.add(ManifestEntry(data_file=datafile))
```
I don't see how can we get back the `DataFile` from the manifest / Avro
file. I need your guidance here,
--
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]