zeroshade commented on code in PR #34631:
URL: https://github.com/apache/arrow/pull/34631#discussion_r1157647308


##########
go/arrow/table.go:
##########
@@ -69,7 +69,7 @@ type Column struct {
 // of the ref counting.
 func NewColumnFromArr(field Field, arr Array) Column {
        if !TypeEqual(field.Type, arr.DataType()) {
-               panic("arrow/array: inconsistent data type")
+               panic(fmt.Sprintf("arrow/array: inconsistent data type %s vs 
%s", field.Type.String(), arr.DataType().String()))

Review Comment:
   same goes for the other spots.



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

Reply via email to