[
https://issues.apache.org/jira/browse/AVRO-2753?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Daniel Kulp resolved AVRO-2753.
-------------------------------
Fix Version/s: 1.10.0
Resolution: Fixed
> Add leaveOpen option to DataFileReader and Writer to keep Stream open
> ---------------------------------------------------------------------
>
> Key: AVRO-2753
> URL: https://issues.apache.org/jira/browse/AVRO-2753
> Project: Apache Avro
> Issue Type: Improvement
> Reporter: Zoltan Csizmadia
> Assignee: Zoltan Csizmadia
> Priority: Minor
> Fix For: 1.10.0
>
> Original Estimate: 24h
> Remaining Estimate: 24h
>
> # If a stream is used to open DataFileReader or DataFileWriter, an optional
> leaveOpen (default=false) should exist as an additional argument to flag the
> object not to close and dispose the stream when the reader/writer object is
> disposed.
> # The stream objects are not disposed (only closed) as of now, leaving the
> reader and writer objects not disposed.
>
> leaveOpen follows the Stream pattern which used in other Stream related
> areas. This can be useful if streams are chained together, e.g.
> Compressor/decompressor streams chained together with Avro reader/writer
> objects.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)