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

   ## What changed
   
   Reject a union child index equal to the number of children.
   
   ## Why
   
   The previous bounds check allowed `idx == len(children)` through, causing a 
generic runtime index panic instead of the intended Arrow validation panic.
   
   The regression test covers both the negative and upper bounds for dense and 
sparse union builders.
   
   ## Validation
   
   `go test ./arrow/array`
   


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