Github user fhueske commented on a diff in the pull request:

    https://github.com/apache/flink/pull/2511#discussion_r88737982
  
    --- Diff: 
flink-libraries/flink-table/src/main/scala/org/apache/flink/api/table/TableEnvironment.scala
 ---
    @@ -133,12 +134,24 @@ abstract class TableEnvironment(val config: 
TableConfig) {
             registerTableInternal(name, tableTable)
           case e: StreamTableEnvironment =>
             val sTableTable = new TransStreamTable(table.getRelNode, true)
    -        tables.add(name, sTableTable)
    +        schema.addTable(name, sTableTable)
         }
     
       }
     
       /**
    +    * Unregisters a [[Table]] in the TableEnvironment's catalog.
    +    * Unregistered tables cannot be referenced in SQL queries anymore.
    +    *
    +    * @param name The name under which the table is registered.
    +    */
    +  def unregisterTable(name: String): Unit = {
    --- End diff --
    
    Do we want to return a boolean success value or throw an exception if the 
table does not exist?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to