You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Weston Pace (Jira)" <ji...@apache.org> on 2021/11/30 21:25:00 UTC

[jira] [Commented] (ARROW-14904) [C++] Enable CSV Writer to append / overwrite existing file

    [ https://issues.apache.org/jira/browse/ARROW-14904?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17451362#comment-17451362 ] 

Weston Pace commented on ARROW-14904:
-------------------------------------

Opening an append stream is on the path to be deprecated.  It isn't supported on all filesystems (e.g. S3) or all formats (e.g. parquet).  Overwrite behavior should exist today.

That being said I can see the potential advantages when it comes to CSV.  CC [~apitrou]

> [C++] Enable CSV Writer to append / overwrite existing file
> -----------------------------------------------------------
>
>                 Key: ARROW-14904
>                 URL: https://issues.apache.org/jira/browse/ARROW-14904
>             Project: Apache Arrow
>          Issue Type: Sub-task
>          Components: C++
>            Reporter: Dragoș Moldovan-Grünfeld
>            Priority: Major
>
> This would be a match for the {{readr::write_csv()}} {{append}} argument: boolean. If {{FALSE}} will overwrite existing file. If {{TRUE}} will append to existing file. In both cases, if the file doesn't exist, a new file is created. 



--
This message was sent by Atlassian Jira
(v8.20.1#820001)