You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Antoine Pitrou (Jira)" <ji...@apache.org> on 2022/01/18 13:51:00 UTC

[jira] [Commented] (ARROW-12509) [C++] More fine-grained control of file creation in filesystem layer

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

Antoine Pitrou commented on ARROW-12509:
----------------------------------------

Ping [~coryan] , I would welcome your insight here.

> [C++] More fine-grained control of file creation in filesystem layer
> --------------------------------------------------------------------
>
>                 Key: ARROW-12509
>                 URL: https://issues.apache.org/jira/browse/ARROW-12509
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: C++
>            Reporter: Antoine Pitrou
>            Assignee: Antoine Pitrou
>            Priority: Major
>
> {{FileSystem::OpenOutputStream}} silently truncates an existing file.
> It would be better to give more control to the user. Ideally, one could choose between several options: "always overwrite and fail if doesn't exist", "overwrite if exists, otherwise create", "creates if doesn't exist, otherwise fails".
> One should research whether e.g. S3 supports such control.



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