weijietong opened a new pull request, #9606:
URL: https://github.com/apache/paimon/pull/9606

   ### Purpose
   The current implementaion of the oss migration only support the same bucket. 
So you can't do a migration of a hive table from the bucket `a` to a paimon 
table at the  bucket `b`.  The limitation is due to the `AliyunOssFileSystem`'s 
`rename` implementation. It hard codes the source and target bucket to the same 
one. But the offical 
[document](https://www.alibabacloud.com/help/zh/oss/developer-reference/java-copy-objects?spm=a2c63.p38356.help-menu-31815.d_1_1_1_1_2_7.7d604065BNDXcM)
 of the aliyun oss doesn't have this limitation. 
   
   So this pr is to overload the `rename` function to support the cross bucket 
data movement. 
   
   ### Tests
   
   `OSSFileIOTest`'s mock test cases passed. And I test this by the real aliyun 
AK.


-- 
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]

Reply via email to