-
Notifications
You must be signed in to change notification settings - Fork 381
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
[#4580] feat(catalog): unify cloud storage configurations #4897
Conversation
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.
Do the related documents need to be updated?
There seems no need to update the document, this is internal, the other catalog like fileset or engine could reuse the storage properties. |
public static final String GRAVITINO_OSS_ACCESS_KEY_ID = "oss-access-key-id"; | ||
// The static secret access key used to access OSS data. | ||
public static final String GRAVITINO_OSS_ACCESS_KEY_SECRET = "oss-access-key-secret"; | ||
|
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.
The oss-access-key-secret
is mismatch with the docs. is it right?
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.
updated the docs to use access key secret for OSS
public static final String ICEBERG_OSS_ACCESS_KEY_ID = "client.access-key-id"; | ||
public static final String GRAVITINO_OSS_ACCESS_KEY_SECRET = "oss-access-key-secret"; | ||
public static final String ICEBERG_OSS_ACCESS_KEY_SECRET = "client.access-key-secret"; |
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.
Do we have the GCS related configurations?
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.
no, because GCS need to create credential according to a credential file, For Iceberg, it could only load credential file by setting ENV vars explicitly or load from GCS instance implicitly.
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
What changes were proposed in this pull request?
unify the storage configurations
Why are the changes needed?
Fix: #4580
Does this PR introduce any user-facing change?
no
How was this patch tested?
existing tests