[
https://issues.apache.org/jira/browse/ARROW-18209?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
David Li resolved ARROW-18209.
------------------------------
Fix Version/s: 11.0.0
Resolution: Fixed
Issue resolved by pull request 14557
[https://github.com/apache/arrow/pull/14557]
> [Java] Make ComplexCopier agnostic of specific implementation of MapWriter,
> i.e UnionMapWriter
> ----------------------------------------------------------------------------------------------
>
> Key: ARROW-18209
> URL: https://issues.apache.org/jira/browse/ARROW-18209
> Project: Apache Arrow
> Issue Type: Bug
> Components: Java
> Reporter: Kambham Vivek Shankar
> Assignee: Kambham Vivek Shankar
> Priority: Minor
> Labels: pull-request-available
> Fix For: 11.0.0
>
> Time Spent: 1h
> Remaining Estimate: 0h
>
> Making ComplexCopier independent of UnionMapWriter lets us use different
> implementations, like PromotableWriter instead. This helps us to copy map
> vector with a map value. Otherwise we get the following error:
> {code:java}
> ClassCast class org.apache.arrow.vector.complex.impl.PromotableWriter cannot
> be cast to class org.apache.arrow.vector.complex.impl.UnionMapWriter{code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)