ferhatelmas commented on code in PR #692:
URL: https://github.com/apache/iceberg-go/pull/692#discussion_r2733923121


##########
table/metadata.go:
##########
@@ -1155,6 +1155,7 @@ func maxBy[S ~[]E, E any](elems S, extract func(e E) int) 
int {
 var (
        ErrInvalidMetadataFormatVersion = errors.New("invalid or missing 
format-version in table metadata")
        ErrInvalidMetadata              = errors.New("invalid metadata")
+       ErrPartitionSpecNotFound        = errors.New("partition spec not found")

Review Comment:
   Since we add a new sentinel error, IMO we also need to wrap this for 
metadata builder `GetSpecByID` line 928?



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