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

Sergey Nuyanzin resolved FLINK-38470.
-------------------------------------
    Fix Version/s: 2.2.0
       Resolution: Fixed

Merged as 
[1c6574d2ff6736011170e6efed8ebd38e61b7054|https://github.com/apache/flink/commit/1c6574d2ff6736011170e6efed8ebd38e61b7054]

> 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
>             Fix For: 2.2.0
>
>
> 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