[
https://issues.apache.org/jira/browse/ARROW-329?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17657363#comment-17657363
]
Rok Mihevc commented on ARROW-329:
----------------------------------
This issue has been migrated to [issue
#15793|https://github.com/apache/arrow/issues/15793] on GitHub. Please see the
[migration documentation|https://github.com/apache/arrow/issues/14542] for
further details.
> [Java] ComplexWriterImpl.setValueCount() doesn't set the value count of its
> "root" container
> --------------------------------------------------------------------------------------------
>
> Key: ARROW-329
> URL: https://issues.apache.org/jira/browse/ARROW-329
> Project: Apache Arrow
> Issue Type: Bug
> Components: Java
> Reporter: Abdel Hakim Deneche
> Priority: Major
>
> The following code:
> {code}
> MapVector vector = new MapVector(name, allocator, null);
> ComplexWriterImpl mapWriter = new ComplexWriterImpl("colMap", vector);
> BaseWriter.MapWriter mapWr = mapWriter.rootAsMap();
> // write into the map vector
> …
> mapWriter.setValueCount(5);
> {code}
> is expected to set the value count of _vector_ to 5, but it doesn't
--
This message was sent by Atlassian Jira
(v8.20.10#820010)