[
https://issues.apache.org/jira/browse/FLINK-41215?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Timo Theusner reassigned FLINK-41215:
-------------------------------------
Assignee: Timo Theusner
> 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
> Assignee: Timo Theusner
> Priority: Major
>
> 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)