opteryx icon indicating copy to clipboard operation
opteryx copied to clipboard

✨ support correlated subqueries

Open joocer opened this issue 3 years ago • 1 comments
trafficstars

Allow subqueries to reference values from the outer query.

joocer avatar Oct 02 '22 10:10 joocer

If this can't be done by rewriting to a join, I'm not sure how to do this without running the sub query over and over again.

Naive plan may be to run and loop, Optimizer may rewrite as a join.

Not even sure how to write than in the naive plan.

joocer avatar Oct 26 '22 10:10 joocer