Hi Jingsong, Thanks for your comments! Here are some responses: ## API
> tag_time_retained => time_retained in Create Tag scope. > It is not a separate option, we don't need a tag prefix. OK, I am agree with you. ## Expire > We can expire all tags instead of only handling non auto-created tags. > Actually, I think auto-created tags also have a requirement to expire by retained time. At first, I also think TTL should handling auto-created tags too. But I found that auto-created tags already have 'tag.creation-period' and 'tag.num-retained-max' to expire them. This will conflict with the TTL we added, making it difficult to define the priority of both and easily causing misunderstandings for users. Do the others have any other opinions? > TagNonAutoCreatedRetainManager => ExpireTags OK, I am agree with you. ## System table > Add tag_create_time and tag_retain_time in the tag system table. Now Tags system table have a column named commit_time not tag_commit_time. So what I wrote in the PIP-20 was create-time and time-retained, not tag_create-time and tag_time-retained. Do we unified tag prefix? Or remove the tag prefix uniformly? On Mon, Apr 1, 2024 at 8:46 PM Jingsong Li <[email protected]> wrote: > Reply again to CC wangwj. > > Best, > Jingsong > > On Mon, Apr 1, 2024 at 7:50 PM yu zelin <[email protected]> wrote: > > > > The discussion is moved to thread: > > https://lists.apache.org/thread/k0b4boc5odqbj2g51rmg1r6zgvqsofd9. > > > > Best, > > Zelin Yu > > > > On Mon, Apr 1, 2024 at 9:54 AM <[email protected]> wrote: > > > > > Hi devs: > > > > > > I would like to start a discussion of PIP-20: Introduce TTL for tags > which > > > are not auto-created. [1]. Currently, Paimon has automatic clearing > > > mechanisms for tags created by TagAutoCreation, but not for other > tags. It > > > can't meet our demands.For example:1、The current tag cleanup mechanism > may > > > lead to resource-wasting.2、Tag does not support TTL, so it is not > flexible > > > to use. > > > This PIP aims to > > > support each Tag has its own TTL, so that the user can use the tag > more flexibly and reduce the probability of resource waste.And > > > Paimon keep up with other data lake products such as Iceberg. > > > Looking forward to your feedback, thanks. > > > [1] > > > > https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=300026341 > > > > > > > > > Best, > > > wangwj >
