[ 
https://issues.apache.org/jira/browse/FLINK-41209?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Timo Theusner updated FLINK-41209:
----------------------------------
    Component/s: Client / Job Submission
                 Table SQL / API
                 Table SQL / Gateway
                 Table SQL / Planner

> Run and control materialized table refresh jobs from any TableEnvironment
> -------------------------------------------------------------------------
>
>                 Key: FLINK-41209
>                 URL: https://issues.apache.org/jira/browse/FLINK-41209
>             Project: Flink
>          Issue Type: Sub-task
>          Components: Client / Job Submission, Table SQL / API, Table SQL / 
> Gateway, Table SQL / Planner
>            Reporter: Timo Theusner
>            Assignee: Timo Theusner
>            Priority: Major
>
> Only the SQL Gateway's {{MaterializedTableManager}} starts and controls 
> refresh jobs, through Flink's cluster client in {{flink-clients}}, which no 
> table module depends on. So {{executeSql()}} materialized-table DDL only 
> writes the catalog and leaves the table {{INITIALIZING}}, while {{SUSPEND}}, 
> {{RESUME}} and {{REFRESH}} throw {{UnsupportedOperationException}}. Move the 
> logic into a planner {{MaterializedTableExecutor}}, used by the SQL Gateway 
> and every {{TableEnvironment}}, which reaches existing refresh jobs through a 
> new internal {{PipelineExecutor}} extension in {{flink-core}}.



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

Reply via email to