fallintoplace opened a new pull request, #1136: URL: https://github.com/apache/arrow-go/pull/1136
### Rationale for this change UpdateNullCount counts bits from a nil validity buffer when the null count is unknown. A missing validity bitmap represents all-valid data, but CountSetBits can panic for a non-zero length. ### What changes are included in this PR? Treat a missing validity buffer as an all-valid array, cache a null count of zero, and add regression coverage. ### Are these changes tested? - `go test ./arrow/compute/exec` ### Are there any user-facing changes? Zero-null arrays without a validity bitmap no longer panic when their null count is first requested. -- 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]
