[
https://issues.apache.org/jira/browse/FLINK-13630?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated FLINK-13630:
-----------------------------------
Labels: pull-request-available (was: )
> 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
> Priority: Critical
> Labels: pull-request-available
> 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)