Timo Theusner created FLINK-41238:
-------------------------------------

             Summary: 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


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)

Reply via email to