fallintoplace opened a new pull request, #1241: URL: https://github.com/apache/iceberg-go/pull/1241
## Summary This changes the Parquet `WriteDataFile` error path to abort the open writer when a batch write fails, rather than calling `Close` and trying to finalize the file. If abort cleanup also fails, the returned error now includes both the original write error and the abort error. The regression test uses a fake file writer that panics on `Close`, so the test guards the intended cleanup path directly. ## Testing - `go test ./table/internal -run '^TestWriteDataFileBatchesAbortsOnWriteError$' -count=1` - `go test ./table/internal -count=1` - `go test ./... -count=1` -- 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]
