fallintoplace opened a new pull request, #1575: URL: https://github.com/apache/iceberg-go/pull/1575
## What changed Return defensive copies from `DataFile` collection and optional-value getters. Deep-copy byte bounds and binary partition values, and clone caller-owned builder inputs that contain mutable storage. ## Why The getters exposed cached maps, slices, byte buffers, and pointers directly. Callers could mutate a decoded or built data file through a value returned by an accessor, including partition and bounds data used during planning. The regression test mutates builder inputs and every affected getter, then verifies the data file remains unchanged. ## Testing - `go test .` - `go vet .` -- 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]
