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

   ### What happened
   
   Sparse union child arrays are already sliced relative to the union array. 
ApproxEqual added the union offset a second time, so comparing sliced unions 
could compare the wrong child values or panic.
   
   ### What changed
   
   Use slice-relative child positions, matching the existing exact equality 
path.
   
   ### Tests
   
   - go test ./arrow/array -run 
TestSparseUnionApproxEqualSlicesWithDifferentOffsets -count=1


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