zeroshade commented on code in PR #14223:
URL: https://github.com/apache/arrow/pull/14223#discussion_r1092213252
##########
go/arrow/ipc/writer.go:
##########
@@ -709,6 +709,21 @@ func (w *recordEncoder) visit(p *Payload, arr arrow.Array)
error {
}
w.depth++
+ case *arrow.RunEndEncodedType:
+ arr := arr.(*array.RunEndEncoded)
+ w.depth--
+ child := arr.LogicalRunEndsArray(w.mem)
Review Comment:
yea. if the offset is 0 then it's a slice, if it's non-zero it's a new array
because the actual run-ends need to get adjusted to provide an offset of 0
--
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]