[ https://issues.apache.org/jira/browse/FLINK-13150?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16881416#comment-16881416 ]
Xuefu Zhang commented on FLINK-13150: ------------------------------------- After talking to [~twalthr] in person and it's clarified that table environment is stateful. Thus, this might be bug. Will investigate. > defaultCatalogName and defaultDatabaseName in TableEnvImpl is not updated > after they are updated in TableEnvironment > -------------------------------------------------------------------------------------------------------------------- > > Key: FLINK-13150 > URL: https://issues.apache.org/jira/browse/FLINK-13150 > Project: Flink > Issue Type: Bug > Components: Table SQL / API > Affects Versions: 1.9.0 > Reporter: Jeff Zhang > Priority: Major > > defaultCatalogName and defaultDatabaseName in TableEnvImpl are initialized > when it is created and never changed even when they are updated in > TableEnvironment. > The will cause issues that we may register table to the wrong catalog after > we changed the defaultCatalogName and defaultDatabaseName -- This message was sent by Atlassian JIRA (v7.6.3#76005)