[ https://issues.apache.org/jira/browse/PIG-2143?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13158263#comment-13158263 ]
Cheng Guang-Nan commented on PIG-2143: -------------------------------------- Would like to have the -overwrite option implimented. Also it's ugly that while what I want is to overwrite exsting output location and I have to speicify the delimter again. {code} store mystuff into 'myplace' using PigStorage('\t', '-overwrite'); {code} > Make PigStorage optionally store schema; improve docs. > ------------------------------------------------------ > > Key: PIG-2143 > URL: https://issues.apache.org/jira/browse/PIG-2143 > Project: Pig > Issue Type: Improvement > Reporter: Dmitriy V. Ryaboy > Assignee: Dmitriy V. Ryaboy > Fix For: 0.10 > > Attachments: PIG-2143.2.diff, PIG-2143.3.patch, PIG-2143.4.patch, > PIG-2143.5.patch, PIG-2143.diff > > > I'd like to propose that we allow for a greater degree of customization in > PigStorage. > An incomplete list features that we might want to add: > - flag to tell it to overwrite existing output if it exists > - flag to tell it to compress output using gzip|bzip|lzo (currently this can > be achieved by setting the directory name to end in .gz or .bz2, which is a > bit awkward) > - flag to tell it to store the schema and header (perhaps by merging in > PigStorageSchema work?) -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira