barronw commented on issue #72:
URL: https://github.com/apache/iceberg-rust/issues/72#issuecomment-1754114530

   > The ManifestList is a simple wrapper of Vec, so I think providing a method 
for iterator of entries would not be huge effort.
   
   I'm not sure I'm following. To clarify, I was wondering if we should have 
something like
   
   ```rust
   struct ManifestListWriter {
       ...,
       writer: apache_avro::Writer,
   }
   
   impl ManifestListWriter {
       fn append(entries: ManifestList) {
           // Append entries to Avro writer
       }
   
       fn close() {
           // Close Avro writer
       } 
   }
   ```
   
   This is a bit complex though, since the [Avro 
writer](https://docs.rs/apache-avro/latest/apache_avro/struct.Writer.html) has 
a reference to the Avro schema.


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

Reply via email to