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

Doug Cutting commented on AVRO-158:
-----------------------------------

This patch adds a new DataFileWriter constructor that opens an existing data 
file.  Would it be better to have a single contructor (or perhaps factory 
method) that accepts an "overwrite" flag?  This would, when overwrite=false, if 
a file exists, open it for append, otherwise create a new one.  If 
overwrite=true, it would always create a new file.  Which is the most useful 
API for applications?

> Add test to Java bindings for opening a non-empty file object container and 
> successfully adding new elements
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: AVRO-158
>                 URL: https://issues.apache.org/jira/browse/AVRO-158
>             Project: Avro
>          Issue Type: Test
>          Components: java
>            Reporter: Jeff Hammerbacher
>            Assignee: Doug Cutting
>             Fix For: 1.3.0
>
>         Attachments: AVRO-158.patch
>
>
> Avro file object container are mutable and we should test that fact.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to