[ 
https://issues.apache.org/jira/browse/FLINK-16567?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17059644#comment-17059644
 ] 

jinhai commented on FLINK-16567:
--------------------------------

Hi [~ykt836]

StreamQueryConfig is deprecated and replaced by TableConfig in the future. But 
our documents and flink api are not up-to-date, which is not friendly to users.

I think we should add api support for TableConfig, such as 
Table#insertInto态StreamTableEnvironment# toAppendStream

> 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
>    Affects Versions: 1.9.0, 1.9.1, 1.9.2, 1.10.0
>            Reporter: jinhai
>            Assignee: jinhai
>            Priority: Major
>             Fix For: 1.10.1
>
>
> {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)

Reply via email to