[ https://issues.apache.org/jira/browse/AVRO-2753?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17113986#comment-17113986 ]
ASF subversion and git services commented on AVRO-2753: ------------------------------------------------------- Commit 13405739ccf0ac3b10d3ac66c6d2cc87ddfac3a2 in avro's branch refs/heads/master from Zoltan Csizmadia [ https://gitbox.apache.org/repos/asf?p=avro.git;h=1340573 ] AVRO-2753: Add leaveOpen optional flag > 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 > 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)