You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@orc.apache.org by "Owen O'Malley (JIRA)" <ji...@apache.org> on 2017/10/12 16:00:07 UTC

[jira] [Resolved] (ORC-169) Rename VectorizedRowBatch.size to rowCount

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

Owen O'Malley resolved ORC-169.
-------------------------------
    Resolution: Won't Fix

The gain wouldn't be worth the pain.

> Rename VectorizedRowBatch.size to rowCount
> ------------------------------------------
>
>                 Key: ORC-169
>                 URL: https://issues.apache.org/jira/browse/ORC-169
>             Project: ORC
>          Issue Type: Improvement
>            Reporter: Philipp Blum
>            Priority: Minor
>              Labels: ABI-break
>
> The property name size is a bit confusing because it's only a rowCount. A map or array element also increase the size of a batch but will not be counted in size. So, you need an additional counter to count the size of your current batch. I also think another property with the name size or elementCount is a nice to have.
> Please correct me, if I don't understand the concept. You can also take a look into the scala library I wrote: https://github.com/Citrullin/scalaOrcWriter



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