[ 
https://issues.apache.org/jira/browse/FLINK-13630?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dawid Wysakowicz closed FLINK-13630.
------------------------------------
    Resolution: Fixed

Implemented in
1.9: 448c459609ea0054e691be29ac6332af5ab4e289
master: ff2c2c494aca56c94364c36f4db1a0836fad962e

> 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
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> 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)

Reply via email to