[
https://issues.apache.org/jira/browse/ARROW-18209?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated ARROW-18209:
-----------------------------------
Labels: pull-request-available (was: )
> [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: Vivek Shankar
> Assignee: Vivek Shankar
> Priority: Minor
> Labels: pull-request-available
> Time Spent: 10m
> 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)