You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "jianzhang.yjz (Jira)" <ji...@apache.org> on 2021/11/08 09:26:00 UTC
[jira] [Updated] (FLINK-24818) Incorrect comment of ttlConfig field
in StateDescriptor
[ https://issues.apache.org/jira/browse/FLINK-24818?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
jianzhang.yjz updated FLINK-24818:
----------------------------------
Description:
The _*ttlConfig*_ field in the _*StateDescriptor*_ class is annotated incorretly, which may be caused by the copy _*queryableStateName*_ field.
{code:java}
/** 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; {code}
was:
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;
```
> 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
> Priority: Minor
> Fix For: 1.15.0
>
>
> The _*ttlConfig*_ field in the _*StateDescriptor*_ class is annotated incorretly, which may be caused by the copy _*queryableStateName*_ field.
> {code:java}
> /** 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; {code}
--
This message was sent by Atlassian Jira
(v8.20.1#820001)