zeroshade commented on code in PR #14255:
URL: https://github.com/apache/arrow/pull/14255#discussion_r982549948
##########
go/arrow/compute/utils.go:
##########
@@ -81,3 +84,159 @@ func (b *bufferWriteSeeker) Seek(offset int64, whence int)
(int64, error) {
b.pos = newpos
return int64(newpos), nil
}
+
+func ensureDictionaryDecoded(vals ...arrow.DataType) {
+ for i, v := range vals {
+ if v.ID() == arrow.DICTIONARY {
+ vals[i] = v.(*arrow.DictionaryType).ValueType
Review Comment:
currently it's not implemented and will return an `ErrNotImplemented` before
it gets here, but when I implement it i'll update this with a comment.
--
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]