fenfeng9 opened a new pull request, #50108:
URL: https://github.com/apache/arrow/pull/50108

   ### Rationale for this change
   Sliced sparse unions could report incorrect nullness during element access.
   The type id lookup used the union offset, but the child null check still 
used the slice-relative index.
   
   ### What changes are included in this PR?
   * Updates `IsNullSparseUnion` and `ArraySpan::IsNullSparseUnion` in 
`data.cc` to use the parent offset when checking child nullness.
   * Add C++ and Python regression tests.
   
   ### Are these changes tested?
   Yes.
   
   ### Are there any user-facing changes?
   No.
   


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