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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Shang Yuanchun (Jira)
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)