Timo Theusner created FLINK-41237:
-------------------------------------

             Summary: Add MaterializedTableDescriptor for full materialized 
table declarations
                 Key: FLINK-41237
                 URL: https://issues.apache.org/jira/browse/FLINK-41237
             Project: Flink
          Issue Type: Sub-task
          Components: Table SQL / API
            Reporter: Timo Theusner


Add {{MaterializedTableDescriptor}} with a builder, and 
{{{}RefreshStrategy{}}}, accepted by {{{}materializeInto(path, descriptor){}}}. 
It does not extend {{{}TableDescriptor{}}}, because a materialized table's 
storage belongs to the catalog and needs no connector.

Proposed Changes
 * Add {{@PublicEvolving}} {{MaterializedTableDescriptor}} and {{Builder}} 
(schema, options, distribution, partition keys, comment, freshness, refresh 
strategy, {{{}toBuilder(){}}}, value equality)
 * Add {{@PublicEvolving}} {{RefreshStrategy}} ({{{}automatic(){}}}, 
{{{}continuous(){}}}, {{{}full(){}}}), mapped to 
{{CatalogMaterializedTable.LogicalRefreshMode}}
 * Add {{{}Table#materializeInto(String, MaterializedTableDescriptor){}}}, 
passing only the declared clauses through 
{{{}DescriptorMaterializedTableMergeContext{}}}{{{}{}}}



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

Reply via email to