[ 
https://issues.apache.org/jira/browse/FLINK-41215?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Arvid Heise resolved FLINK-41215.
---------------------------------
    Fix Version/s: 2.4.0
       Resolution: Fixed

Merged into main as f29a66d.

> 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
>              Labels: pull-request-available
>             Fix For: 2.4.0
>
>
> 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