Skip to content
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

generic SQL serializer dealing with LATERAL subqueries #78

Open
lordpretzel opened this issue Jun 12, 2021 · 0 comments
Open

generic SQL serializer dealing with LATERAL subqueries #78

lordpretzel opened this issue Jun 12, 2021 · 0 comments
Labels

Comments

@lordpretzel
Copy link
Collaborator

The generic SQL serializer, serializes the nested subqueries of nesting operators into strings and stores these strings in map:
attribute name -> serialized subquery. Then in serialization of selection operators, references to the subquery result attribute are replaced with the serialized subquery. This does not work for LATERAL subqueries which have to be treated as FROM clause items. Plan of attack:

  • do not replace references to the result attributes of a LATERAL subquery with the subquery itself
  • deal with LATERAL nesting operators as FROM items in the generic serializer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant