leaves12138 commented on code in PR #6969:
URL: https://github.com/apache/paimon/pull/6969#discussion_r2670737467
##########
paimon-python/pypaimon/common/file_io.py:
##########
@@ -251,7 +255,15 @@ def rename(self, src: str, dst: str) -> bool:
self.mkdirs(str(dst_parent))
src_str = self.to_filesystem_path(src)
- self.filesystem.move(src_str, dst_str)
+ if isinstance(self.filesystem, LocalFileSystem):
Review Comment:
You can implement LocalFileSystem, lock in filesystem, not in file_io in the
future.
--
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]