[ https://issues.apache.org/jira/browse/ARROW-5518?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Johannes Luong updated ARROW-5518: ---------------------------------- Summary: [Java] Set VectorSchemaRoot rowCount to 0 on allocateNew and clear (was: [Java] set VectorSchemaRoot rowCount to 0 on allocateNew and clear ) > [Java] Set VectorSchemaRoot rowCount to 0 on allocateNew and clear > ------------------------------------------------------------------- > > Key: ARROW-5518 > URL: https://issues.apache.org/jira/browse/ARROW-5518 > Project: Apache Arrow > Issue Type: Improvement > Components: Java > Reporter: Johannes Luong > Priority: Minor > Labels: newbie, patch, pull-request-available > > Set {{VectorSchemaRoot::rowCount}} to 0 in {{allocateNew()}} and {{clear()}}. > This makes the behaviour of {{VectorSchemaRoot}} consistent with > {{ValueVector}} implementations which set their {{valueCount}} to 0 on > {{clear()}}. -- This message was sent by Atlassian JIRA (v7.6.3#76005)