[jira] [Created] (FLINK-17139) The sub-plan reuse optimizer can't reuse sub-plan that from different sql node tree 

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-17139) The sub-plan reuse optimizer can't reuse sub-plan that from different sql node tree 

Shang Yuanchun (Jira)
jinfeng created FLINK-17139:
-------------------------------

             Summary: 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


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)