[
https://issues.apache.org/jira/browse/FLINK-16567?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Robert Metzger updated FLINK-16567:
-----------------------------------
Component/s: Table SQL / API
> Get the API error of the StreamQueryConfig on Page "Query Configuration"
> ------------------------------------------------------------------------
>
> Key: FLINK-16567
> URL: https://issues.apache.org/jira/browse/FLINK-16567
> Project: Flink
> Issue Type: Bug
> Components: Documentation, Table SQL / API
> Affects Versions: 1.9.0, 1.9.1, 1.9.2, 1.10.0
> Reporter: jinhai
> Assignee: jinhai
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.10.1
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> {code:java}
> // code placeholder
> StreamExecutionEnvironment env =
> StreamExecutionEnvironment.getExecutionEnvironment();
> StreamTableEnvironment tableEnv = StreamTableEnvironment.create(env);
> // obtain query configuration from TableEnvironment
> StreamQueryConfig qConfig = tableEnv.queryConfig();
> // set query parameters
> qConfig.withIdleStateRetentionTime(Time.hours(12), Time.hours(24));
> {code}
> On page "query_configuration.md", tableEnv.queryConfig()
> 、withIdleStateRetentionTime() does not exist
--
This message was sent by Atlassian Jira
(v8.3.4#803005)