My quick thoughts are… this seems to be a serious issue… we should fix it… you have done a lot of good research into this… and I’m curious why the one-line fix to SqlToRelConverter you propose in the Jira case is not sufficient.
> On Mar 6, 2026, at 9:39 AM, Ian Bertolacci via dev <[email protected]> > wrote: > > Hi, we discovered CALCITE-7405 a few weeks back and provided a minimal PR to > address it. (https://github.com/apache/calcite/pull/4779). > I was hoping to get some feedback on it. > There’s a proposal that we approach correlation differently in > SqlToRelConverter, but I would prefer to solve this problem now, using this > minimal approach,, especially since that new approach would take a long time > to materialize. > > Thanks! > -Ian J. Bertolacci
