You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2021/06/02 15:17:00 UTC

[jira] [Updated] (ARROW-12719) [C++][Python] pyarrow.fs.S3FileSystem pass extra kwargs i.e ACL

     [ https://issues.apache.org/jira/browse/ARROW-12719?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ASF GitHub Bot updated ARROW-12719:
-----------------------------------
    Labels: pull-request-available  (was: )

> [C++][Python] pyarrow.fs.S3FileSystem pass extra kwargs i.e ACL
> ---------------------------------------------------------------
>
>                 Key: ARROW-12719
>                 URL: https://issues.apache.org/jira/browse/ARROW-12719
>             Project: Apache Arrow
>          Issue Type: New Feature
>          Components: C++, Python
>            Reporter: Ryan Haarmann
>            Assignee: Antoine Pitrou
>            Priority: Minor
>              Labels: pull-request-available
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Is there a way to set specific ACL args to the new written files via the S3FileSystem? We have a situation where the writer/read role groups do not have access unless specified during the write process.
> Example of how we update with `s3fs`:
> {code:python}
> s3fs.S3FileSystem(
>  s3_additional_kwargs={'ACL': 'bucket-owner-full-control'}
> ){code}
> or with `boto`:
> {code:python}
> extra_args.update(\{"ACL": "bucket-owner-full-control"})
> boto3.s3.transfer.S3Transfer(...).upload_file(extra_args=extra_args)
> {code}
> or
> {code:python}
> s3.Object(my_bucket_name, my_key_path).put(Body=my_body, ACL='bucket-owner-full-control')
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)