JingsongLi commented on code in PR #6332:
URL: https://github.com/apache/paimon/pull/6332#discussion_r2378780769
##########
paimon-python/pypaimon/common/file_io.py:
##########
@@ -71,7 +71,8 @@ def _initialize_oss_fs(self) -> FileSystem:
client_kwargs['force_virtual_addressing'] = True
client_kwargs['endpoint_override'] =
self.properties.get(OssOptions.OSS_ENDPOINT)
else:
- client_kwargs['endpoint_override'] =
(self.properties.get(OssOptions.OSS_BUCKET) + "." +
+ oss_bucket = path.split('/')[1]
Review Comment:
Add more tests for extracting bucket from path.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]