fallintoplace opened a new pull request, #1001:
URL: https://github.com/apache/arrow-go/pull/1001

   ### Rationale for this change
   
   MakeNullScalar creates a null run-end encoded scalar without a child value. 
Validate dereferenced that value before checking nullness, causing a panic.
   
   ### What changes are included in this PR?
   
   Handle a missing value explicitly: accept it for null scalars and return an 
invalid-scalar error for non-null scalars. Extend the existing null scalar test 
to cover Validate and ValidateFull.
   
   ### Are these changes tested?
   
   Yes. go test ./arrow/scalar
   
   ### Are there any user-facing changes?
   
   Validating a null run-end encoded scalar no longer panics.


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