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

Lateral Joins #1395

Open
relsunkaev opened this issue Oct 24, 2024 · 1 comment
Open

Lateral Joins #1395

relsunkaev opened this issue Oct 24, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@relsunkaev
Copy link

Is your feature request related to a problem? Please describe.

ReadySet currently does not support lateral joins, which limits the ability to use correlated subqueries in certain SQL queries. We use a popular JavaScript library, Drizzle ORM, which relies on lateral subqueries for many of its relational queries. As a result, a significant number of our queries are not cacheable in ReadySet.

Describe the solution you’d like

It would be helpful if ReadySet supported lateral joins, allowing for correlated subqueries and more complex query patterns to be executed efficiently and cached.

Describe alternatives you’ve considered

Refactoring queries to avoid lateral join by not using the relational syntax for the ORM that we use. This is cumbersome significantly reduces the library's ergonomics.

@relsunkaev relsunkaev added the enhancement New feature or request label Oct 24, 2024
@gvsg-rs
Copy link
Contributor

gvsg-rs commented Oct 24, 2024

@relsunkaev - thank you for the submission. We expect to work on lateral joins this quarter. I'll update this ticket when we start work on it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants