You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Wes McKinney (JIRA)" <ji...@apache.org> on 2019/02/06 03:33:00 UTC
[jira] [Updated] (ARROW-329) [Java]
ComplexWriterImpl.setValueCount() doesn't set the value count of its "root"
container
[ https://issues.apache.org/jira/browse/ARROW-329?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Wes McKinney updated ARROW-329:
-------------------------------
Summary: [Java] ComplexWriterImpl.setValueCount() doesn't set the value count of its "root" container (was: ComplexWriterImpl.setValueCount() doesn't set the value count of its "root" container)
> [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: Deneche A. Hakim
> Assignee: Deneche A. Hakim
> 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
(v7.6.3#76005)