Skip to content

Commit 2674cda

Browse files
Richard WhalingRichard Whaling
Richard Whaling
authored and
Richard Whaling
committed
updated to use correct conditional put env var
1 parent c1aad9f commit 2674cda

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

docs/integrations/object-storage/s3-like.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Follow the steps below to use Delta Lake on S3 (R2/Minio) with Polars:
3030
```python
3131
storage_options = {
3232
'AWS_SECRET_ACCESS_KEY': <access_key>,
33-
'conditional_put': 'etag', # Here we say to use conditional put, this provides safe concurrency.
33+
'aws_conditional_put': 'etag', # Here we say to use conditional put, this provides safe concurrency.
3434
}
3535
```
3636

@@ -67,10 +67,10 @@ With this configuration, Minio will host its S3-compatible API over HTTP, not HT
6767

6868
```python
6969
storage_options = {
70-
"AWS_ACCESS_KEY_ID": ...,
71-
"AWS_SECRET_ACCESS_KEY": ...,
72-
"AWS_ENDPOINT_URL": "http://localhost:9000",
73-
"AWS_ALLOW_HTTP": "true",
74-
"AWS_S3_ALLOW_UNSAFE_RENAME": "true"
70+
'AWS_ACCESS_KEY_ID': ...,
71+
'AWS_SECRET_ACCESS_KEY': ...,
72+
'AWS_ENDPOINT_URL': 'http://localhost:9000',
73+
'AWS_ALLOW_HTTP': 'true',
74+
'aws_conditional_put': 'etag'
7575
}
7676
```

0 commit comments

Comments
 (0)