Commits


kambhamvivekshankar authored and GitHub committed 8a5aa671829
ARROW-18209: [Java] Make ComplexCopier agnostic of specific implementation of MapWriter (UnionMapWriter) (#14557) 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: ClassCast class org.apache.arrow.vector.complex.impl.PromotableWriter cannot be cast to class org.apache.arrow.vector.complex.impl.UnionMapWriter Lead-authored-by: Kambham Vivek Shankar <v_706@yahoo.com> Co-authored-by: kambhamvivekshankar <v_706@yahoo.com> Signed-off-by: David Li <li.davidm96@gmail.com>