jianzhang.yjz created FLINK-24818:
-------------------------------------

             Summary: Incorrect comment of ttlConfig field in StateDescriptor
                 Key: FLINK-24818
                 URL: https://issues.apache.org/jira/browse/FLINK-24818
             Project: Flink
          Issue Type: Improvement
          Components: API / State Processor
            Reporter: jianzhang.yjz
             Fix For: 1.15.0


The ```ttlConfig``` field in the ```StateDescriptor``` class is annotated 
incorretly, which may be caused by the copy ```queryableStateName``` field.

 

```/** Name for queries against state created from this StateDescriptor. */
@Nullable private String queryableStateName;

/** Name for queries against state created from this StateDescriptor. */
@Nonnull private StateTtlConfig ttlConfig = StateTtlConfig.DISABLED;

```



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to