fallintoplace opened a new pull request, #1314:
URL: https://github.com/apache/iceberg-go/pull/1314

   Summary
   
   - compare partition spec transforms with Transform.Equals in CompatibleWith
   - add regression coverage for non-comparable transform implementations
   
   Why
   
   PartitionField.Equals already delegates transform comparison to 
Transform.Equals, but PartitionSpec.CompatibleWith compared transform 
interfaces directly. That can panic for non-comparable transform 
implementations and also bypass transform-specific equality semantics.
   
   Testing
   
   - go test . -run '^TestPartitionSpecCompatibleWithUsesTransformEquals$' 
-count=1\n- go test . -count=1\n- go run 
github.com/golangci/golangci-lint/v2/cmd/[email protected] run 
--timeout=10m .\n- git diff --check


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