[ 
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)

Reply via email to