[
https://issues.apache.org/jira/browse/FLINK-41239?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated FLINK-41239:
-----------------------------------
Labels: pull-request-available (was: )
> 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
> Priority: Major
> Labels: pull-request-available
>
> 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)