zeroshade commented on code in PR #667:
URL: https://github.com/apache/iceberg-go/pull/667#discussion_r2670179907


##########
table/snapshot_producers.go:
##########
@@ -260,11 +262,12 @@ func (m *manifestMergeManager) groupBySpec(manifests 
[]iceberg.ManifestFile) map
        return groups
 }
 
-func (m *manifestMergeManager) createManifest(specID int, bin 
[]iceberg.ManifestFile) (iceberg.ManifestFile, error) {
+func (m *manifestMergeManager) createManifest(specID int, bin 
[]iceberg.ManifestFile) (mf iceberg.ManifestFile, err error) {
        wr, path, counter, err := m.snap.newManifestWriter(m.snap.spec(specID))
        if err != nil {
                return nil, err
        }
+       defer internal.CheckedClose(wr, &err)

Review Comment:
   Sounds good then. Is there anything else needed before you shift this out of 
Draft?



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