[ 
https://issues.apache.org/jira/browse/ORC-216?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Owen O'Malley resolved ORC-216.
-------------------------------
    Resolution: Not A Problem

This isn't a problem, although Hive doesn't start by resetting the batch, 
changing the behavior will break users for little gain.

> VectorRowBatch creation from TypeDescription invalidates batch size
> -------------------------------------------------------------------
>
>                 Key: ORC-216
>                 URL: https://issues.apache.org/jira/browse/ORC-216
>             Project: ORC
>          Issue Type: Bug
>    Affects Versions: 1.0.0, 1.1.0, 1.2.0, 1.3.0, 1.4.0, 1.5.0
>            Reporter: Prasanth Jayachandran
>            Assignee: Prasanth Jayachandran
>
> TypeDescription.createRowBatch() always resets the size to 0. VectorRowBatch 
> sets the size to value specified in c'tor. Calling createRowBatch() vs c'tor 
> return different values which is confusing. 
> https://github.com/apache/orc/blob/1ef78bbfc7e834deca973ee8f9517c8575737fcf/java/core/src/java/org/apache/orc/TypeDescription.java#L669-L680



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to