Ramin Gharib created FLINK-38470:
------------------------------------
Summary: Make CreateMaterializedTableOperation return
ResolvedCatalogMaterializedTable
Key: FLINK-38470
URL: https://issues.apache.org/jira/browse/FLINK-38470
Project: Flink
Issue Type: Bug
Reporter: Ramin Gharib
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)