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


##########
go/arrow/array/null.go:
##########
@@ -118,6 +118,13 @@ func (b *NullBuilder) AppendNull() {
        b.builder.nulls++
 }
 
+func (b *NullBuilder) AppendNulls(n int) {
+       for i := 0; i < n; i++ {
+               b.builder.length++
+               b.builder.nulls++
+       }
+}

Review Comment:
   would we want `AppendNulls` and `AppendEmptyValues` to be added to all 
builders and added to the `Builder` interface?



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