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

   ## What changed
   
   Wrap the Hive metastore `CreateTable` failure returned by `RegisterTable` 
with `%w`.
   
   ## Why
   
   The previous `%s` formatting converted the cause to text, preventing callers 
from detecting context, transport, or typed metastore errors with `errors.Is` 
and `errors.As`.
   
   The regression test verifies that the original creation error remains 
discoverable.
   
   ## Testing
   
   - `go test ./catalog/hive`
   - `go vet ./catalog/hive`


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