fallintoplace opened a new pull request, #1516: URL: https://github.com/apache/iceberg-go/pull/1516
## Summary - handle nil snapshot summaries symmetrically in `Summary.Equals` - cover direct summary comparison and `Snapshot.Equals` in both operand orders ## Why `Summary.Equals` handled a non-nil receiver with a nil argument, but not the reverse. Comparing a snapshot without a summary to one with a summary dereferenced the nil receiver and panicked. Equality should return false regardless of operand order. ## Testing - `go test ./...` - `go test -race ./table` - `golangci-lint run --timeout=10m` - `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]
