[
https://issues.apache.org/jira/browse/FLINK-14361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17324119#comment-17324119
]
Flink Jira Bot commented on FLINK-14361:
----------------------------------------
This issue is assigned but has not received an update in 7 days so it has been
labeled "stale-assigned". If you are still working on the issue, please give an
update and remove the label. If you are no longer working on the issue, please
unassign so someone else may work on it. In 7 days the issue will be
automatically unassigned.
> Decorrelate subQuery fail when multi correlate in project
> ---------------------------------------------------------
>
> Key: FLINK-14361
> URL: https://issues.apache.org/jira/browse/FLINK-14361
> Project: Flink
> Issue Type: Bug
> Components: Table SQL / Planner
> Reporter: Jingsong Lee
> Assignee: godfrey he
> Priority: Major
> Labels: stale-assigned
>
> Blink planner run SQL:
> {code:java}
> SELECT (SELECT SUM(l.c) FROM l WHERE l.a = r.a and l.b = r.b) from r)
> {code}
> Will throw exception: unexpected correlate variable $cor
> But:
> {code:java}
> SELECT (SELECT SUM(l.c) FROM l WHERE l.a = r.a) from r){code}
> Single correlate in project can work.
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)