-
Notifications
You must be signed in to change notification settings - Fork 170
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Requesting subselectWith_
combinator
#662
Comments
subqueryWith_
combinatorsubselectWith_
combinator
Seems relevant to mention here that I've given up on type safety and managed to work around this using a combination of |
I know it's very late, but one part of your requested functionality is in the issue mentioned above. As for the renesting within |
Excited this is in progress! |
As far as I can tell, currently the only way to write recursive CTEs with
beam
is to use theselectWith
combinator, which can only happen at the "top-level". However, (at least) Postgres supports recursive CTEs inside subqueries as well:Would it be possible to write a
subselectWith_
primitive, analogous tosubquery_
andselectWith_
that allows CTEs inside subselects like this (without even exposing theWith
wrapper outside the subselect)?The text was updated successfully, but these errors were encountered: