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

Sergey Nuyanzin reassigned FLINK-38470:
---------------------------------------

    Assignee: Ramin Gharib

> Make CreateMaterializedTableOperation return ResolvedCatalogMaterializedTable
> -----------------------------------------------------------------------------
>
>                 Key: FLINK-38470
>                 URL: https://issues.apache.org/jira/browse/FLINK-38470
>             Project: Flink
>          Issue Type: Bug
>            Reporter: Ramin Gharib
>            Assignee: Ramin Gharib
>            Priority: Major
>              Labels: pull-request-available
>
> Currently, CreateMaterializedTableOperation and related operations store 
> ResolvedCatalogMaterializedTable internally but expose getters returning the 
> parent type CatalogMaterializedTable. This creates an unnecessary type 
> inconsistency and loses type information.
> Current State:
>  * Constructor accepts: ResolvedCatalogMaterializedTable
>  * Field stores: ResolvedCatalogMaterializedTable
>  * Getter returns: CatalogMaterializedTable (parent type)
> Expected State:
>  * Getter should return: ResolvedCatalogMaterializedTable (matching the 
> actual type)
> This aligns with the pattern used in CreateTableOperation which correctly 
> returns ResolvedCatalogTable.



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

Reply via email to