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

feat: barebones sub-query support #36

Closed
wants to merge 9 commits into from
Closed

feat: barebones sub-query support #36

wants to merge 9 commits into from

Conversation

backkem
Copy link
Collaborator

@backkem backkem commented May 10, 2024

This is a continuation of #33. cc @sardination

The PR includes barebones (see below) support for subqueries. I also tried to re-write the analyzer logic in an attempt to make it more readable.

While creating the example I realized that the current approach obviously doesn't support usage of an outer reference. (yes, making this implementation rather useless). Next steps on that topic could be:

  • Short term: add an exception that avoids federation when an outer reference is used.
  • Long term: maybe look into federation of the execution plan instead. Naturally, a big effort.

I suggest the first point is looked into in a new PR. It's also becoming clear we'll need to look into a good way to get tests setup. For example by federating to DataFusion itself.

@backkem
Copy link
Collaborator Author

backkem commented May 10, 2024

Closing as I overlooked the rewriting of subqueries to joins.

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

Successfully merging this pull request may close these issues.

2 participants