emkornfield commented on a change in pull request #10106:
URL: https://github.com/apache/arrow/pull/10106#discussion_r619877235
##########
File path: go/arrow/array/array_test.go
##########
@@ -85,10 +85,16 @@ func TestMakeFromData(t *testing.T) {
}},
{name: "duration", d: &testDataType{arrow.DURATION}},
+ {name: "map", d: &testDataType{arrow.MAP}, child: []*array.Data{
+ array.NewData(&testDataType{arrow.STRUCT}, 0,
make([]*memory.Buffer, 4), []*array.Data{
Review comment:
nit: this is probably consistent with other code here, but literal
comments like
`/*elementByteWidth=*/4` could make this more readable.
--
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.
For queries about this service, please contact Infrastructure at:
[email protected]