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

   ## What
   Make `FixedTypeOf` and `DecimalTypeOf` return `(type, error)`.
   
   ## Why
   Invalid type definitions should return errors instead of panicking.
   
   ## Implementation
   - Return wrapped `ErrInvalidArgument` for invalid precision, scale, and 
length.
   - Add `MustFixedTypeOf` and `MustDecimalTypeOf` for known-valid values.
   - Update callers and document the API change.
   
   Refs apache/iceberg-go#2062.
   


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