westonpace opened a new pull request, #34684: URL: https://github.com/apache/arrow/pull/34684
### Rationale for this change The take kernel would generate a segmentation fault when used on an extension array with a dictionary storage type. ### What changes are included in this PR? Conversion to/from ArraySpan now uses the storage type to determine if it needs to assign a dictionary ### Are these changes tested? I added unit tests that verify ArraySpan round trip for most types, including an extension dictionary type (and verified this test fails without the fix). ### 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: github-unsubscr...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org