[
https://issues.apache.org/jira/browse/AVRO-1726?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Bryan Bende updated AVRO-1726:
------------------------------
Attachment: AVRO-1726-2.patch
This patch has the blockOffset idea mentioned by Sean, with some new unit tests
to test starting at beginning, middle, and past the end.
I'm open to looking at a position based approach, but figured I would put this
up for now.
> 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-2.patch, 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)