[ https://issues.apache.org/jira/browse/FLINK-9699?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16531580#comment-16531580 ]
ASF GitHub Bot commented on FLINK-9699: --------------------------------------- Github user yanghua commented on a diff in the pull request: https://github.com/apache/flink/pull/6236#discussion_r199857602 --- Diff: flink-libraries/flink-table/src/main/scala/org/apache/flink/table/api/TableEnvironment.scala --- @@ -415,6 +416,19 @@ abstract class TableEnvironment(val config: TableConfig) { */ def registerTable(name: String, table: Table): Unit = { + registerTable(name, table, false) + } + + /** + * Registers a [[Table]] under a unique name in the TableEnvironment's catalog. + * Registered tables can be referenced in SQL queries. + * + * @param name The name under which the table will be registered. + * @param table The table to register. + * @param replace Whether to replace the registered table --- End diff -- end with point. > Add api to replace registered table > ----------------------------------- > > Key: FLINK-9699 > URL: https://issues.apache.org/jira/browse/FLINK-9699 > Project: Flink > Issue Type: Improvement > Reporter: Jeff Zhang > Priority: Major > Labels: pull-request-available > -- This message was sent by Atlassian JIRA (v7.6.3#76005)