Ramin Gharib created FLINK-38968:
------------------------------------
Summary: 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
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)