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
sql: support subquery #750
Comments
Step 1 is done in #756. Now we support subqueries in FROM clause which can pass TPC-H Q9 #761. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Step 1: support subquery binding in binder.
Existing binder can only bind columns and tables in the catalog.
One possbile solution is to add new types of column and table bindings:
SubqueryColumnRef
andSubQueryTableRef
.Step 2: support uncorrlated subquery execution.
Step 3: support subquery execution plan for correlated subquery.
Reference: https://ericfu.me/subquery-optimization/
The text was updated successfully, but these errors were encountered: