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

Merged
merged 12 commits into from
Nov 4, 2024
Merged

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

@pvary pvary force-pushed the flow branch 3 times, most recently from a1dabe5 to 96322c5 Compare September 16, 2024 09:38
* 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 pvary force-pushed the flow branch 5 times, most recently from fa56618 to 2403f44 Compare September 18, 2024 20:44
@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

@pvary pvary merged commit 0669bcb into apache:main Nov 4, 2024
20 checks passed
@pvary
Copy link
Contributor Author

pvary commented Nov 4, 2024

Merged to main.
Thanks for the review @stevenzwu, @rodmeneses and @netvl!

pvary pushed a commit to pvary/iceberg that referenced this pull request Nov 5, 2024
pvary added a commit that referenced this pull request Nov 8, 2024
zachdisc pushed a commit to zachdisc/iceberg that referenced this pull request Dec 23, 2024
zachdisc pushed a commit to zachdisc/iceberg that referenced this pull request Dec 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

4 participants