[ 
https://issues.apache.org/jira/browse/FLINK-39662?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18081998#comment-18081998
 ] 

Sergey Nuyanzin commented on FLINK-39662:
-----------------------------------------

Merged as 
[9a72fde482412d1cf41c215a229c5a6cb3e1cc69|https://github.com/apache/flink/commit/9a72fde482412d1cf41c215a229c5a6cb3e1cc69]

> Support ALTER MATERIALIZED TABLE ... SET ('k' = 'v') conversion
> ---------------------------------------------------------------
>
>                 Key: FLINK-39662
>                 URL: https://issues.apache.org/jira/browse/FLINK-39662
>             Project: Flink
>          Issue Type: Sub-task
>          Components: Table SQL / Planner
>            Reporter: Ramin Gharib
>            Priority: Major
>              Labels: pull-request-available
>
> Add {{SqlAlterMaterializedTableOptionsConverter}} under 
> {{{}org.apache.flink.table.planner.operations.converters.materializedtable{}}}.
>  Register it in {{{}SqlNodeConverters#registerMaterializedTableConverters{}}}.
> *Behavior:*
>  # Resolve the table from the catalog. Reject with {{ValidationException}} if 
> the target is not a materialized table or does not exist.
>  # Merge the supplied options over the existing table options.
>  # Reject keys that change identity or freshness semantics. Use the same 
> key-allowlist that {{SqlCreateOrAlterMaterializedTableConverter}} applies 
> under FLINK-39199.
>  # Emit {{AlterMaterializedTableChangeOperation}} so the change flows through 
> {{{}CatalogManager#alterTable{}}}.
> *Tests:*
>  * Add cases to {{{}MaterializedTableNodeToOperationConverterTest{}}}. Cover 
> happy path, unknown table, non-materialized target, and rejected key.
>  * Add {{MaterializedTableITCase}} coverage that sets a non-reserved option 
> and asserts the catalog reflects the change.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to