-
Notifications
You must be signed in to change notification settings - Fork 594
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
feat(meta,batch): support iceberg files system table #16180
Conversation
494ffb2
to
20f2286
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.
LGTM, is it possible to add some e2e tests for it?
let source_props: HashMap<String, String> = | ||
HashMap::from_iter(source.with_properties.clone()); | ||
let config = ConnectorProperties::extract(source_props, false)?; | ||
if let ConnectorProperties::Iceberg(iceberg_properties) = config { |
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.
Shouldn't this always go if
branch?
if source.with_properties.is_iceberg_connector() { | ||
iceberg_sources.push((schema.name.clone(), source.deref().clone())) | ||
} |
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.
Nit: What about if let ConnectorProperties::Iceberg(iceberg_properties) = config {
here? Seems no need to have the iceberg_sources
vec.
At least iceberg_sources
can be an iterator.
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.
We need source name and source id for the result. Let me add an unreachable!()
I hereby agree to the terms of the RisingWave Labs, Inc. Contributor License Agreement.
What's changed and what's your intention?
rw_iceberg_files
to display the current files of iceberg source/table.Example:
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.
rw_iceberg_files
to display the current files of iceberg source/table.Example: