[
https://issues.apache.org/jira/browse/FLINK-38968?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated FLINK-38968:
-----------------------------------
Labels: pull-request-available (was: )
> Add toCatalogTable method to CatalogMaterializedTable interface
> ---------------------------------------------------------------
>
> Key: FLINK-38968
> URL: https://issues.apache.org/jira/browse/FLINK-38968
> Project: Flink
> Issue Type: Improvement
> Reporter: Ramin Gharib
> Priority: Major
> Labels: pull-request-available
>
> h2. Summary
> Add a default `toCatalogTable()` method to the `CatalogMaterializedTable`
> interface that converts a materialized table to a `CatalogTable` for planner
> query optimization.This extracts the conversion logic to the interface level,
> allowing `ResolvedCatalogMaterializedTable.toResolvedCatalogTable()` to
> delegate to `origin.toCatalogTable()`.
>
> h2. Changes
> # Added default method `toCatalogTable()` in `CatalogMaterializedTable`
> interface
> # Updated `ResolvedCatalogMaterializedTable.toResolvedCatalogTable()` to use
> the new method
--
This message was sent by Atlassian Jira
(v8.20.10#820010)