Sorry, I mean the relation between Flink Configuration and TableConfig, not TableEnv.
Best, Paul Lam Paul Lam <paullin3...@gmail.com> 于2021年9月24日周五 上午12:24写道: > Hi all, > > Currently, Flink creates a new Configuration in TableConfig of > StreamTableEnvironment, and synchronizes options in it back to the > Configuration of the underlying StreamExecutionEnvironment afterward. > However, only "relevant" options are set back [1], others are dropped > silently. That blocks users from overriding options like > DeploymentOptions.ATTACHED from TableConfig. So I'm wondering the reason > why not merge all options from TableConfig into the Configuration, and > what's the relation between Configuration and TableEnv? > > Thanks a lot! > > [1] > https://github.com/apache/flink/blob/36ff71f5ff63a140acc634dd1d98b2bb47a76ba5/flink-streaming-java/src/main/java/org/apache/flink/streaming/api/environment/StreamExecutionEnvironment.java#L904 > > Best, > Paul Lam > >