You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Jane Chan (Jira)" <ji...@apache.org> on 2023/05/16 16:33:00 UTC

[jira] (FLINK-32053) Introduce StateMetadata to ExecNode to support configure operator-level state TTL via CompiledPlan

    [ https://issues.apache.org/jira/browse/FLINK-32053 ]


    Jane Chan deleted comment on FLINK-32053:
    -----------------------------------

was (Author: qingyue):
Wait for FLINK-32064 to be merged

> Introduce StateMetadata to ExecNode to support configure operator-level state TTL via CompiledPlan
> --------------------------------------------------------------------------------------------------
>
>                 Key: FLINK-32053
>                 URL: https://issues.apache.org/jira/browse/FLINK-32053
>             Project: Flink
>          Issue Type: Sub-task
>          Components: Table SQL / Planner
>    Affects Versions: 1.18.0
>            Reporter: Jane Chan
>            Assignee: Jane Chan
>            Priority: Major
>             Fix For: 1.18.0
>
>
> This subtask should introduce StateMetadata to all ExecNodes that translate to stateful operators, changing the way how `#translateToPlanInternal` get the state retention time. The affected `ExecNode` list
> {code:java}
>     StreamExecChangelogNormalize
>     StreamExecDeduplicate
>     StreamExecGlobalGroupAggregate
>     StreamExecGroupAggregate
>     StreamExecIncrementalGroupAggregate
>     StreamExecJoin
>     StreamExecLimit
>     StreamExecLookupJoin
>     StreamExecRank
>     StreamExecSink
>     StreamExecSortLimit
> {code}
> Since we have upgraded some `ExecNode`s to version 2, we have to test the following 3 parts:
> 1. the plans serialized using version 1 can be deserialized using the current version.
> 2. the plans with the current version SerDe work as expected.
> 3. The way by modifying the JSON content to change state TTL works as expected.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)