You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "jinhai (Jira)" <ji...@apache.org> on 2020/03/12 09:14:00 UTC

[jira] [Created] (FLINK-16567) Get the API error of the StreamQueryConfig on Page "Query Configuration"

jinhai created FLINK-16567:
------------------------------

             Summary: 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.10.0, 1.9.2, 1.9.1, 1.9.0
            Reporter: jinhai
             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() does not exist



--
This message was sent by Atlassian Jira
(v8.3.4#803005)