You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@orc.apache.org by "Dongjoon Hyun (Jira)" <ji...@apache.org> on 2021/01/12 03:24:00 UTC

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

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

Dongjoon Hyun closed ORC-169.
-----------------------------

> 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
(v8.3.4#803005)