CurtHagenlocher opened a new pull request, #471:
URL: https://github.com/apache/arrow-dotnet/pull/471

   ## What's Changed
   
   `GetSlicedValues` only sliced when `Values` derived from `Array`. 
`ExtensionArray` implements `IArrowArray` but doesn't derive from `Array`, so a 
list of extension values (e.g. `list<arrow.uuid>` backed by a `GuidArray`) 
returned `null` for non-null elements, indistinguishable from a null list entry.
   
   This slices any `IArrowArray` via `ArrowArrayFactory.Slice`, which is what 
`Array.Slice` already delegates to, so behavior for regular arrays is unchanged 
and extension values now come back as the appropriate extension array. Applied 
to `ListArray`, `ListViewArray`, `LargeListArray`, `LargeListViewArray` and 
`FixedSizeListArray` (`ListViewArray` had the same check, though the issue 
didn't list it).
   
   Added `ListArrayExtensionValuesTests` covering all five list types with 
`GuidArray` values; these fail without the fix.
   
   Closes #468.
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)
   
   Co-Authored-By: Claude Opus 5.5 <[email protected]>
   


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