Skip to content
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

Flink: Maintenance - TableManager + ExpireSnapshots #11144

Open
wants to merge 12 commits into
base: main
Choose a base branch
from

Conversation

pvary
Copy link
Contributor

@pvary pvary commented Sep 16, 2024

TableManager builder implementation along with the first maintenance task to provide context.
https://docs.google.com/document/d/16g3vR18mVBy8jbFaLjf2JwAANuYOmIwr15yDDxovdnA/edit#heading=h.yd2vbtnf7z6w

@github-actions github-actions bot added the flink label Sep 16, 2024
@pvary
Copy link
Contributor Author

pvary commented Sep 16, 2024

@stevenzwu: This PR become quite sizeable. I still think that it is better to keep it as one to provide context for some of the decisions made during the definition of the MaintenanceTaskBuilder.

If you have time we could discuss offline the review strategy, and whether to split this PR to smaller ones.

Thanks,
Peter

* specific language governing permissions and limitations
* under the License.
*/
package org.apache.iceberg.flink.maintenance.stream;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know if users would interpret stream sub package as pubic APIs. It is better to use proper Java class scope for that purpose. public classes are public and non-public classes can be package private.

@pvary
Copy link
Contributor Author

pvary commented Sep 26, 2024

@netvl: I'm struggling to find the relevant comment (there are too many of them already), but I would like to ask you to check if the proposed MaintenanceTaskBuilder would serve your needs. You can see in the ExpireSnapshots class how it is ment to be used.

Thanks,
Peter

@pvary
Copy link
Contributor Author

pvary commented Sep 26, 2024

@rodmeneses: If you have time, I would like to ask you to review the PR.
Thanks,
Peter

TableLoader newTableLoader,
String defaultUidSuffix,
String defaultSlotSharingGroup,
int mainParallelism) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this should also be defaultParallelism?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: In Progress
Development

Successfully merging this pull request may close these issues.

4 participants