Skip to content

[oss]support cross bucket migration of oss files - #9606

Open
weijietong wants to merge 1 commit into
apache:masterfrom
weijietong:migrate_oss
Open

[oss]support cross bucket migration of oss files#9606
weijietong wants to merge 1 commit into
apache:masterfrom
weijietong:migrate_oss

Conversation

@weijietong

@weijietong weijietong commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant