zeroshade commented on PR #14026:
URL: https://github.com/apache/arrow/pull/14026#issuecomment-1242416869
@tschaub looks like a similar issue in `countSetBitsWithOffset` which, at
that point, is both places that it is called *sigh*.
I guess the solution is just to push the condition down into `bytesToUint64`
directly. Just add
```go
if h.Cap < uint64SizeBytes {
return nil
}
```
there instead of the if you added to `CountSetBits` previously
--
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]