fallintoplace opened a new pull request, #1376: URL: https://github.com/apache/iceberg-go/pull/1376
## Summary Fixes mutable aliasing when creating a partition spec. `NewPartitionSpecID` now copies the variadic field arguments and each field's `SourceIDs` slice before initialization, so callers can safely reuse/mutate their input slice after constructing a spec. Also added a regression test: - `TestNewPartitionSpecIDCopiesFields` in `partitions_test.go` ## Validation - `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]
