iceberg icon indicating copy to clipboard operation
iceberg copied to clipboard

Add docs for Table Maintenance in Flink

Open manuzhang opened this issue 6 months ago • 9 comments

Feature Request / Improvement

Flink Table Maintenance was added in #11144, but there's no doc on its usage yet. TestMaintenanceE2E is a good reference.

Query engine

Flink

Willingness to contribute

  • [ ] I can contribute this improvement/feature independently
  • [ ] I would be willing to contribute this improvement/feature with guidance from the Iceberg community
  • [ ] I cannot contribute this improvement/feature at this time

manuzhang avatar Jun 13 '25 15:06 manuzhang

Hi, I’d like to take this issue. I’ll open a PR shortly to add the documentation. Could you please assign this issue to me?

Thanks!

JeonDaehong avatar Jun 13 '25 22:06 JeonDaehong

@JeonDaehong Thanks, we generally avoid assigning issues. Look forward to your PR.

manuzhang avatar Jun 14 '25 14:06 manuzhang

@JeonDaehong Thanks, we generally avoid assigning issues. Look forward to your PR.

Thanks for the clarification! I understand. I’ll proceed without the assignment. I’ll make sure to open a PR very soon. Looking forward to contributing!

JeonDaehong avatar Jun 14 '25 14:06 JeonDaehong

@manuzhang

Hello ! I’m planning to create a new file named flink-maintenance.md and include the content from this document: https://docs.google.com/document/d/16g3vR18mVBy8jbFaLjf2JwAANuYOmIwr15yDDxovdnA/edit?tab=t.0

I’ll also add usage instructions in the markdown file.

Could you please confirm if this approach is okay before I proceed?

Thanks! :D

JeonDaehong avatar Jun 15 '25 00:06 JeonDaehong

CC: @Guosmilesmile, as she is working on these features.

I would recommend a more user focused documentation. The linked doc contains many development related details which are not something the users are concerned about.

Also, I would recommend to document the configuration possibilities introduced by @Guosmilesmile, which is the main concern for the users

pvary avatar Jun 15 '25 20:06 pvary

CC: @Guosmilesmile, as she is working on these features.

I would recommend a more user focused documentation. The linked doc contains many development related details which are not something the users are concerned about.

Also, I would recommend to document the configuration possibilities introduced by @Guosmilesmile, which is the main concern for the users

Thank you for the feedback!

I'll check the core features and configuration options, and work on a user-focused documentation accordingly.
@Guosmilesmile, since you were tagged and seem to be working on these features — is there anything I should refer to or be aware of?

If you can share anything helpful, I’ll make sure to include it in the updated docs.

Thanks again!

JeonDaehong avatar Jun 15 '25 22:06 JeonDaehong

I also suggest that the documentation should be more user-focused, as the architecture documentation is a bit too detailed on development aspects.

  1. How to properly configure Table Maintenance through code, including explanations of configuration options, lock settings, and so on.
  2. This PR contains an example of some configuration options (but only regarding enabling compression in the sink), which I hope can serve as a reference for you: https://github.com/apache/iceberg/pull/12979#issuecomment-2854062247

Guosmilesmile avatar Jun 16 '25 02:06 Guosmilesmile

I also suggest that the documentation should be more user-focused, as the architecture documentation is a bit too detailed on development aspects.

  1. How to properly configure Table Maintenance through code, including explanations of configuration options, lock settings, and so on.
  2. This PR contains an example of some configuration options (but only regarding enabling compression in the sink), which I hope can serve as a reference for you: https://github.com/apache/iceberg/pull/12979#issuecomment-2854062247

Thank you so much for your thoughtful feedback!

Based on your suggestions, I’ll revise the documentation with a more user-centric approach. I plan to thoroughly test everything myself and include detailed explanations from the user’s perspective.

It might take a bit of time, but I’m committed to making steady progress and completing it properly. So if it’s okay, I’d like to take full responsibility for this PR and continue working on it myself.

Thanks again, and I hope you have a great day! :D

JeonDaehong avatar Jun 16 '25 03:06 JeonDaehong

So if it’s okay, I’d like to take full responsibility for this PR and continue working on it myself.

@JeonDaehong: Do so, and ping us if you need any help.

pvary avatar Jun 16 '25 04:06 pvary