[
https://issues.apache.org/jira/browse/ARROW-18209?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Vivek Shankar updated ARROW-18209:
----------------------------------
Description:
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}
was:
Making ComplexCopier independent of UnionMapWriter lets us use different
implementations, like PromotableWriter. 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}
> [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
>
> 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)