You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Kurt Young (Jira)" <ji...@apache.org> on 2020/04/14 13:28:00 UTC
[jira] [Commented] (FLINK-17139) The sub-plan reuse optimizer can't reuse sub-plan that from different sql node tree
[ https://issues.apache.org/jira/browse/FLINK-17139?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17083230#comment-17083230 ]
Kurt Young commented on FLINK-17139:
------------------------------------
Are you using sql cli?
> The sub-plan reuse optimizer can't reuse sub-plan that from different sql node tree
> ------------------------------------------------------------------------------------
>
> Key: FLINK-17139
> URL: https://issues.apache.org/jira/browse/FLINK-17139
> Project: Flink
> Issue Type: Improvement
> Components: Table SQL / Planner
> Affects Versions: 1.10.0
> Reporter: jinfeng
> Priority: Major
>
> The sub-plan reuse optimizer can't reuse sub-plan that from different sql node tree .
> {code:java}
> //代码占位符
> create table SourceTable ...;
> create table SinkTable1 ....;
> create table SinkTable2 ....;
> insert into SinkTable1 select * from SourceTable;
> insert into SinkTable2 select * from SourceTable;
> {code}
> SourceTable will not be reuse when I execute the below sql statements;
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)