[
https://issues.apache.org/jira/browse/CALCITE-3366?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17102086#comment-17102086
]
Juhwan Kim commented on CALCITE-3366:
-------------------------------------
Hi [[email protected]]. Are you still working on this patch? I also found it
useful to support decorrelating union.
> RelDecorrelator supports Union
> ------------------------------
>
> Key: CALCITE-3366
> URL: https://issues.apache.org/jira/browse/CALCITE-3366
> Project: Calcite
> Issue Type: Improvement
> Reporter: Jin Xing
> Priority: Major
> Labels: pull-request-available
> Time Spent: 3h 20m
> Remaining Estimate: 0h
>
> This issue proposes to support decorrelation for below sql
> {code:java}
> SELECT deptno FROM dept where exists
> (SELECT 1 FROM emp where sal < 100 and emp.deptno=dept.deptno
> union all
> SELECT 1 FROM emp where sal > 200 and emp.deptno=dept.deptno){code}
> This issue was found when I resolve CALCITE-3363 in
> https://github.com/apache/calcite/pull/1466
> I failed to construct an semi-join operator from SQL string.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)