You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Added force virtual addressing configuration for S3. Also added oss and r2 protocol.
* Rewrote force virtual addressing as written in PyArrow documentation
* Added the missing r2 key value in schema_to_file_io
* Removed R2 protocol for now
* Linter fix
* Updated documentation for OSS support
* Another linter fix
| s3.force-virtual-addressing | False | Whether to use virtual addressing of buckets. If true, then virtual addressing is always enabled. If false, then virtual addressing is only enabled if endpoint_override is empty. This can be used for non-AWS backends that only support virtual hosted-style access. |
118
120
119
121
<!-- markdown-link-check-enable-->
120
122
@@ -167,6 +169,22 @@ For the FileIO there are several configuration options available:
167
169
168
170
<!-- markdown-link-check-enable-->
169
171
172
+
### Alibaba Cloud Object Storage Service (OSS)
173
+
174
+
<!-- markdown-link-check-disable -->
175
+
176
+
PyIceberg uses [S3FileSystem](https://arrow.apache.org/docs/python/generated/pyarrow.fs.S3FileSystem.html) class to connect to OSS bucket as the service is [compatible with S3 SDK](https://www.alibabacloud.com/help/en/oss/developer-reference/use-amazon-s3-sdks-to-access-oss) as long as the endpoint is addressed with virtual hosted style.
| s3.endpoint |<https://s3.oss-your-bucket-region.aliyuncs.com/>| Configure an endpoint of the OSS service for the FileIO to access. Be sure to use S3 compatible endpoint as given in the example. |
181
+
| s3.access-key-id | admin | Configure the static access key id used to access the FileIO. |
182
+
| s3.secret-access-key | password | Configure the static secret access key used to access the FileIO. |
183
+
| s3.session-token | AQoDYXdzEJr... | Configure the static session token used to access the FileIO. |
184
+
| s3.force-virtual-addressing | True | Whether to use virtual addressing of buckets. This must be set to True as OSS can only be accessed with virtual hosted style address. |
0 commit comments