[
https://issues.apache.org/jira/browse/CALCITE-7873?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mihai Budiu resolved CALCITE-7873.
----------------------------------
Resolution: Fixed
Fixed in
[https://github.com/apache/calcite/commit/73b05e37c75bc38e663be7dcd87315324b44a9e5]
Thank you for the review [~zzwqqq]
> Correlated subqueries in ON JOIN conditions crash the compiler with
> expand=true
> -------------------------------------------------------------------------------
>
> Key: CALCITE-7873
> URL: https://issues.apache.org/jira/browse/CALCITE-7873
> Project: Calcite
> Issue Type: Bug
> Components: core
> Affects Versions: 1.42.0
> Reporter: Mihai Budiu
> Assignee: Mihai Budiu
> Priority: Minor
> Labels: pull-request-available
>
> Here is quidem test which fails:
> {code:java}
> select e.ename, d.dname
> from emp as e join dept as d
> on e.deptno = d.deptno
> and e.sal = (select max(s.sal) from emp as s)
> order by e.ename; {code}
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)