[
https://issues.apache.org/jira/browse/FLINK-41238?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Arvid Heise updated FLINK-41238:
--------------------------------
Fix Version/s: 2.4.0
> Add CreateMode to refuse an existing object at the declared path
> ----------------------------------------------------------------
>
> Key: FLINK-41238
> URL: https://issues.apache.org/jira/browse/FLINK-41238
> 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 {{CreateMode}} with {{createOrAlter()}} and {{{}failIfExists(){}}}, and
> {{{}execute(CreateMode){}}}. {{failIfExists()}} maps to {{CREATE MATERIALIZED
> TABLE}} and fails with a {{ValidationException}} if any object exists at the
> path.
> Proposed Changes
> * Add {{@PublicEvolving}} {{CreateMode}} with {{{}Kind{}}}, {{getKind()}}
> and {{asSummaryString()}}
> * Add {{{}MaterializedPipeline#execute(CreateMode){}}}, with {{execute()}}
> delegating via {{createOrAlter()}}
> * Build a {{CreateMaterializedTableOperation}} for {{failIfExists()}} in
> {{MaterializedPipelineImpl}}
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)