adamreeve opened a new pull request, #40789: URL: https://github.com/apache/arrow/pull/40789
### Rationale for this change This allows users to implement `IArrowArrayVisitor<MapArray>` and have the `Visit(MapArray)` method called instead of `Visit(ListArray)` or `Visit(IArrowArray)`. ### What changes are included in this PR? Overrides the `Accept` method to check whether the visitor implements `Visit(MapArray)`, and if not, delegates to the base implementation to handle `IArrowArrayVisitor<ListArray>` or fall back to using an `IArrowArrayVisitor`. ### Are these changes tested? Yes, I've added unit tests. ### Are there any user-facing changes? Yes, this is a user-facing change. -- 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]
