Timo Theusner created FLINK-41394:
-------------------------------------
Summary: Read and derive from a materialized table handle
Key: FLINK-41394
URL: https://issues.apache.org/jira/browse/FLINK-41394
Project: Flink
Issue Type: Sub-task
Components: Table SQL / API
Reporter: Timo Theusner
Add {{toTable()}} to read its storage like {{{}from(path){}}}, {{toQuery()}}
for its defining query as a {{{}Table{}}}, and {{toDescriptor()}} for its
current definition.
Proposed Changes
* Add {{{}MaterializedTable#toTable(){}}}, resolving the schema at call time
like {{TableEnvironment#from(String)}}
* Add {{{}MaterializedTable#toQuery(){}}}, planning the stored expanded query
into a {{Table}}
* Add {{{}MaterializedTable#toDescriptor(){}}}, building a
{{MaterializedTableDescriptor}} from the resolved catalog entry
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)