This is an automated email from the ASF dual-hosted git repository.
lzljs3620320 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/paimon.git
The following commit(s) were added to refs/heads/master by this push:
new 2ccb66c471 [python] Fix: Correct OSS config key for sample (#6211)
2ccb66c471 is described below
commit 2ccb66c471ff02f143a3b070ac19e66e9389884c
Author: ChengHui Chen <[email protected]>
AuthorDate: Mon Sep 8 10:10:39 2025 +0800
[python] Fix: Correct OSS config key for sample (#6211)
---
paimon-python/pypaimon/sample/oss_read_and_write.py | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/paimon-python/pypaimon/sample/oss_read_and_write.py
b/paimon-python/pypaimon/sample/oss_read_and_write.py
index 89a6872813..bd7310be25 100644
--- a/paimon-python/pypaimon/sample/oss_read_and_write.py
+++ b/paimon-python/pypaimon/sample/oss_read_and_write.py
@@ -26,10 +26,10 @@ def oss_read_and_write():
warehouse = 'oss://<your-bucket>/<warehouse-path>'
catalog = CatalogFactory.create({
'warehouse': warehouse,
- 's3.endpoint': 'oss-<your-region>.aliyuncs.com',
- 's3.access-key': '<your-ak>',
- 's3.secret-key': '<your-sk>',
- 's3.region': '<your-region>'
+ 'fs.oss.endpoint': 'oss-<your-region>.aliyuncs.com',
+ 'fs.oss.accessKeyId': '<your-ak>',
+ 'fs.oss.accessKeySecret': '<your-sk>',
+ 'fs.oss.region': '<your-region>'
})
simple_pa_schema = pa.schema([
('f0', pa.int32()),