You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Dawid Wysakowicz (JIRA)" <ji...@apache.org> on 2019/08/07 09:58:00 UTC

[jira] [Created] (FLINK-13630) StreamTableEnvironment#toAppendStream without QueryConfig overrides values set on TableConfig

Dawid Wysakowicz created FLINK-13630:
----------------------------------------

             Summary: StreamTableEnvironment#toAppendStream without QueryConfig overrides values set on TableConfig
                 Key: FLINK-13630
                 URL: https://issues.apache.org/jira/browse/FLINK-13630
             Project: Flink
          Issue Type: Improvement
          Components: Table SQL / API
    Affects Versions: 1.9.0
            Reporter: Dawid Wysakowicz
            Assignee: Dawid Wysakowicz
             Fix For: 1.9.0


In a sequence like this:
{code}
tEnv.getConfig().setIdleStateRetentionTime(minRetention, maxRetention);
Table table = tEnv.fromDataStream(elements);
tEnv.toAppendStream(table, Row.class);
{code}
the call to {{toAppendStream}} will override the value set in {{tEnv.getConfig.setIdleStateRetentionTime}}. I think we should change that behavior, as we want to drop the version with explicit {{QueryConfig}} and recommend the described setup.

Thanks [~hequn8128] for pointing it out.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)