You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "CurtHagenlocher (via GitHub)" <gi...@apache.org> on 2026/10/18 21:08:58 UTC

[PR] Fix GetSlicedValues for list types whose values are an ExtensionArray [arrow-dotnet]

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 <no...@anthropic.com>
   


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Fix GetSlicedValues for list types whose values are an ExtensionArray [arrow-dotnet]

Posted by "CurtHagenlocher (via GitHub)" <gi...@apache.org>.
CurtHagenlocher merged PR #471:
URL: https://github.com/apache/arrow-dotnet/pull/471


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org