Timo Theusner created FLINK-41239:
-------------------------------------

             Summary: Look up an existing materialized table with 
fromMaterializedTable
                 Key: FLINK-41239
                 URL: https://issues.apache.org/jira/browse/FLINK-41239
             Project: Flink
          Issue Type: Sub-task
          Components: Table SQL / API
            Reporter: Timo Theusner


Add {{{}TableEnvironment#fromMaterializedTable(path){}}}, returning a 
{{MaterializedTable}} with getters for status, queries, freshness, refresh mode 
and refresh handler.

Proposed Changes
 * Add {{{}TableEnvironment#fromMaterializedTable(String){}}}, failing with 
{{ValidationException}} if the path is not a materialized table
 * Add {{{}getRefreshStatus(){}}}, {{{}getOriginalQuery(){}}}, 
{{{}getExpandedQuery(){}}}, {{{}getFreshness(){}}}, {{getRefreshMode()}} and 
{{getRefreshHandlerDescription()}} to {{{}MaterializedTable{}}}, reusing 
{{CatalogMaterializedTable.RefreshStatus}} and {{RefreshMode}}



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to