Timo Theusner created FLINK-41215:
-------------------------------------

             Summary: Drop a materialized table by path from TableEnvironment
                 Key: FLINK-41215
                 URL: https://issues.apache.org/jira/browse/FLINK-41215
             Project: Flink
          Issue Type: Sub-task
          Components: Table SQL / API
            Reporter: Timo Theusner


Add {{dropMaterializedTable(path)}} and {{{}dropMaterializedTable(path, 
ignoreIfNotExists){}}}, equivalent to {{{}DROP MATERIALIZED TABLE [IF 
EXISTS]{}}}, which cancel the refresh job before removing the catalog entry.

Proposed Changes
 * Add {{{}TableEnvironment#dropMaterializedTable(String, boolean){}}}, 
executing {{DropMaterializedTableOperation}} and returning whether a table was 
dropped
 * Add {{{}dropMaterializedTable(String){}}}, defaulting to {{ignoreIfNotExists 
= true}} like {{dropTable(String)}}



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to