fallintoplace opened a new pull request, #1610:
URL: https://github.com/apache/iceberg-go/pull/1610

   ## What changed
   
   Make the first `ManifestWriter.Close` call terminal even when the manifest 
is empty. The writer now closes its OCF writer, stores the combined close 
result, and returns that same result from later close attempts.
   
   ## Why
   
   An empty-manifest error previously left the writer open. Entries could be 
added afterward, and a later `Close` or `ToManifestFile` call could turn the 
original failure into success.
   
   ## Testing
   
   - Added coverage for repeated close, adding after close, and 
`ToManifestFile` after the failed close
   - `go test ./...`


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