Fokko opened a new issue, #7255:
URL: https://github.com/apache/iceberg/issues/7255

   ### Feature Request / Improvement
   
   In order to write a ManifestList (`List[ManifestFile]`) and ManifestFile 
(`List[ManifestEntry]`) we need to have the ability to write Avro. 
   
   - Construct the `pyiceberg/avro/encoder.py` that encodes the Python 
primitives into bytes, according to the Avro spec: 
https://avro.apache.org/docs/1.11.1/specification/. Also the Python Avro 
implementation is a good source for inspiration: 
https://github.com/apache/avro/blob/master/lang/py/avro/io.py#L415
   - Similar to the read path, we need to construct a writer, see 
`resolver.py:construct_reader` for reference, and this will return a `Writer`.
   - The writer will accept an Encoder and by passing in `List[ManifestFile]` 
and `List[ManifestEntry]` we'll be able to write the datums to Avro.
   
   ### Query engine
   
   None


-- 
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