使用 "bucket-owner-full-control" ACL 将 dask 数据帧存储到 CSV
Store dask dataframe to CSV with "bucket-owner-full-control" ACL
我需要使用 bucket-owner-full-control 将 dask 数据帧存储到 S3 上的 CSV 中,以便授予存储桶所有者的完全访问权限。有办法吗?
以下代码无法实现:
storage_opts = {'s3_additional_kwargs':
{'ACL': 'bucket-owner-full-control'}}
dataframe.to_csv(url, storage_options=storage_opts, **self.kwargs)
你的命令是正确的,但是有一个错误,因为有多个地方可以定义 ACL。该修复程序正在等待测试:
https://github.com/dask/s3fs/pull/105
我需要使用 bucket-owner-full-control 将 dask 数据帧存储到 S3 上的 CSV 中,以便授予存储桶所有者的完全访问权限。有办法吗?
以下代码无法实现:
storage_opts = {'s3_additional_kwargs':
{'ACL': 'bucket-owner-full-control'}}
dataframe.to_csv(url, storage_options=storage_opts, **self.kwargs)
你的命令是正确的,但是有一个错误,因为有多个地方可以定义 ACL。该修复程序正在等待测试: https://github.com/dask/s3fs/pull/105