-
Notifications
You must be signed in to change notification settings - Fork 578
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
refactor(iceberg): extract IcebergCommon config #18600
refactor(iceberg): extract IcebergCommon config #18600
Conversation
This stack of pull requests is managed by Graphite. Learn more about stacking. |
4abecd7
to
c6f0441
Compare
ff19cec
to
71539bd
Compare
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.
Rest LGTM, thanks for the efforts
.unwrap_or_else(|| "risingwave".to_string()) | ||
} | ||
|
||
pub fn full_table_name(&self) -> ConnectorResult<TableIdentifier> { |
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.
how about move full_table_name
to v1 ? It use icelake::TableIdentifier
Signed-off-by: xxchan <xxchan22f@gmail.com>
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.
Are both source and sink using IcebergProperties
?
overall LGTM
pub region: Option<String>, | ||
#[serde(rename = "s3.endpoint")] | ||
pub endpoint: Option<String>, | ||
#[serde(rename = "s3.access.key")] | ||
pub access_key: String, | ||
#[serde(rename = "s3.secret.key")] | ||
pub secret_key: String, |
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.
referencing this part to AwsAuthProps
instead?
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.
They are incompatible and this PR doesn't want to change behavior
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, thanks!
I hereby agree to the terms of the RisingWave Labs, Inc. Contributor License Agreement.
What's changed and what's your intention?
Previously, we use
sink/IcebergConfig
for both source and sink, which is confusing. This PRsource::IcerbergProperties
tosink::IcebergConfig
Note: currently source and sink has some differences:
This PR tries to be an equivalent refactor and so doesn't change any of these.
Checklist
./risedev check
(or alias,./risedev c
)Documentation
Release note
If this PR includes changes that directly affect users or other significant modifications relevant to the community, kindly draft a release note to provide a concise summary of these changes. Please prioritize highlighting the impact these changes will have on users.