Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Support LATERAL joins #1425
It would be immensely valuable when combined with
It doesn't appear that using
I started having a look into this yesterday and I came up with two ways to do it:
Obviously it's a classic trade off:
Let me know if you want me to push through with one of these and maybe I can ask questions if I get stuck! Thanks!
EDIT: 3) Looking at the definition of LATERAL it seems to only apply to subqueries so maybe the simplest way would be to change the params of a subquery( , lateral: true) which would be even simpler and not touch any of the join code. I think that is the one!