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

Bryan Bende commented on AVRO-1726:
-----------------------------------

That would be a cool feature to support, were you thinking of something more 
sophisticated than starting to read blocks and only appending after numBlocks 
>= offset ?

I'm not sure if there is another option because it would require DataFileStream 
being able to position itself at a specific block boundary, which I don't see 
from glancing at public methods, but I am new here so not sure.

> Add support for appending a variable number of blocks to DataFileWriter
> -----------------------------------------------------------------------
>
>                 Key: AVRO-1726
>                 URL: https://issues.apache.org/jira/browse/AVRO-1726
>             Project: Avro
>          Issue Type: Improvement
>    Affects Versions: 1.7.7
>            Reporter: Bryan Bende
>            Priority: Minor
>             Fix For: 1.7.8, 1.8.0
>
>         Attachments: AVRO-1726.patch
>
>
> It would be helpful to have the ability to append a variable number of raw 
> blocks from a DataFileReader to a DataFileWriter, similar to appendAllFrom() 
> but specifying how many blocks to append.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to