hcrosse commented on code in PR #1487:
URL: https://github.com/apache/arrow-go/pull/1487#discussion_r4514656160


##########
arrow/array/validate.go:
##########
@@ -143,7 +143,7 @@ func validateNullCount(data *Data) error {
        }
 
        var actualNulls int
-       switch data.dtype.ID() {
+       switch storageType(data.dtype).ID() {

Review Comment:
   Added `TestValidateFullExtensionOverNullNullCountMismatch`. It builds an 
`opaque<null>` extension array of length 3 that declares no nulls, and checks 
that `Validate` passes while `ValidateFull` reports the null count mismatch.



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