candiduslynx commented on code in PR #35457: URL: https://github.com/apache/arrow/pull/35457#discussion_r1187628331
########## go/internal/types/extension_types.go: ########## @@ -82,14 +105,6 @@ func (b *UUIDBuilder) UnmarshalOne(dec *json.Decoder) error { } } - if len(val) != 16 { - return &json.UnmarshalTypeError{ - Value: fmt.Sprint(val), - Type: reflect.TypeOf([]byte{}), - Offset: dec.InputOffset(), - Struct: fmt.Sprintf("FixedSizeBinary[%d]", 16), - } - } Review Comment: this part is unreachable (uuid.UUID is defined as [16]byte) -- 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: github-unsubscr...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org