You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@orc.apache.org by "cedric (JIRA)" <ji...@apache.org> on 2019/03/06 08:56:00 UTC

[jira] [Commented] (ORC-474) ColumnVectorBatch would benefit from a clear() method to reset all numElements recusively

    [ https://issues.apache.org/jira/browse/ORC-474?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16785419#comment-16785419 ] 

cedric commented on ORC-474:
----------------------------

This is what I had in mind:

 

https://github.com/rixed/orc/commit/e439ba476de60cadc6b56b87a9bb2844a6d4cc22

> ColumnVectorBatch would benefit from a clear() method to reset all numElements recusively
> -----------------------------------------------------------------------------------------
>
>                 Key: ORC-474
>                 URL: https://issues.apache.org/jira/browse/ORC-474
>             Project: ORC
>          Issue Type: Wish
>          Components: C++
>            Reporter: cedric
>            Priority: Minor
>
> When dealing with deeply nested structure it can be quite tedious to reset all numElements recursively after a batch has been written. In practice, the simplest is probably for the client to create his own classes inheriting all of ColumnVectorBatches classes and adding such a clear() method to reset all numElements recursively.
> Shouldn't liborc just provide that?



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)