Skip to content

feat: Improve subquery support #110

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Draft
wants to merge 1 commit into
base: cubesql-3-04-2022
Choose a base branch
from

Conversation

MazterQyou
Copy link
Member

This PR improves subquery support, enabling:

  • Scalar subqueries in WHERE
  • EXISTS subqueries
  • ANY/ALL subqueries

Additionally, ANY now supports all operators, and support for ALL was added.

TODO:

  • Fix an issue where the query with subqueries in SELECT and WHERE won't execute
  • Add subquery support for JOIN conditions
  • Should we support subqueries inside subqueries?

@MazterQyou MazterQyou force-pushed the cubesql/subquery-improvement branch from 102df57 to 2e0791c Compare March 29, 2023 10:29
@MazterQyou MazterQyou force-pushed the cubesql/subquery-improvement branch 2 times, most recently from 5e65b8d to 6cecef6 Compare May 26, 2023 18:45
@MazterQyou MazterQyou force-pushed the cubesql/subquery-improvement branch from 6cecef6 to d644636 Compare June 16, 2023 22:10
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant