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

   ## Summary
   
   - Require exactly one of `source-id` or `source-ids` in 
`SortField.UnmarshalJSON`.
   - Reject malformed sort fields at unmarshal time when source IDs are 
missing, empty, zero, or negative.
   - Tightened source ID validation (`> 0`) to prevent invalid source ID 0 from 
being treated as a valid value.
   - Updated sort tests to assert rejection and add coverage for these invalid 
paths.
   
   ## Testing
   
   - `go test ./table -run 
'TestSortField|TestUnmarshalSortOrder|TestNewSortOrder|TestSortOrder' -count=1`
   - `go test ./table -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]

Reply via email to