zeroshade commented on code in PR #37695:
URL: https://github.com/apache/arrow/pull/37695#discussion_r1326147991
##########
go/arrow/array/map.go:
##########
@@ -234,6 +234,10 @@ func (b *MapBuilder) AppendNulls(n int) {
}
}
+func (b *MapBuilder) SetNull(i int) {
+ b.listBuilder.SetNull(i)
+}
Review Comment:
since this needed the extra case, can we add a test for the MapBuilder that
calls `SetNull` and then `NewArray` and verify everything is correct by
checking `IsNull` on the resulting array?
--
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]