godfrey he created FLINK-15001:
----------------------------------
Summary: The digest of sub-plan reuse should contain RelNode's trait
Key: FLINK-15001
URL:
https://issues.apache.org/jira/browse/FLINK-15001 Project: Flink
Issue Type: Bug
Components: Table SQL / Planner
Affects Versions: 1.9.1, 1.9.0
Reporter: godfrey he
Fix For: 1.10.0
Attachments: image-2019-12-02-10-49-46-916.png, image-2019-12-02-10-52-01-399.png
This bug is found in [FLINK-14946|
https://issues.apache.org/jira/browse/FLINK-14946]:
The plan for the given sql in [FLINK-14946|
https://issues.apache.org/jira/browse/FLINK-14946] is
!image-2019-12-02-10-49-46-916.png!
however, the plan after sub-plan reuse is:
!image-2019-12-02-10-52-01-399.png!
in the first picture, we could find that the accMode of two joins are different, but the two joins are reused in the second picture.
The reason is the digest of sub-plan reuse does not contain RelNode's trait now.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)