hcrosse commented on code in PR #1646:
URL: https://github.com/apache/arrow-go/pull/1646#discussion_r4646095421
##########
arrow/array/arreflect/reflect_go_to_arrow.go:
##########
@@ -361,7 +360,7 @@ func appendDecimalValue(b array.Builder, v reflect.Value)
error {
}
tb.Append(n)
case *array.Decimal256Builder:
- n, ok := reflect.TypeAssert[decimal256.Num](v)
+ n, ok := reflect.TypeAssert[decimal.Decimal256](v)
if !ok {
return fmt.Errorf("expected decimal256.Num, got %s:
%w", v.Type(), ErrTypeMismatch)
Review Comment:
Updated both `arreflect` mismatch error messages to `decimal.Decimal256`.
--
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]