-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[fix](multi-catalog)fix compatibility issue for s3 endpoint when use incompatible client #23175
Conversation
run buildall |
1 similar comment
run buildall |
(From new machine)TeamCity pipeline, clickbench performance test result: |
run fe ut |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
PR approved by at least one committer and no changes requested. |
PR approved by anyone and no changes requested. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Proposed changes
there are some incompatible issues when use s3 endpoint but use oss,obs,cos location, fix them.
fix #22784
When s3 endpoint in catalog properties or load properties:
"s3.endpoint=cos.mycloud.com"
we can se its value is to access cos.
And then, when the query location is "s3://bucket/key" , we should use s3 client, and fit it with the s3 properties.
For another, when the query location is "cosn://bucket/key" , we should use cos client, and fit it with the cos properties.
Further comments
If this is a relatively large or complex change, kick off the discussion at [email protected] by explaining why you chose the solution you did and what alternatives you considered, etc...