Skip to content

fix(isthmus): handle subqueries with outer field references #426

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

nielspardon
Copy link
Contributor

@nielspardon nielspardon commented Jun 27, 2025

changes SubstraitRelNodeConverter and ExpressionRexConverter to support handling subqueries with outer field references

fixes #382

replaces #383

@vbarua
Copy link
Member

vbarua commented Jun 27, 2025

For the sake of reviewability could I ask you split this into 3-ish PRs. One for your initial cleanups/improvements, one for just the visitor changes, and one for subquery changes.

@nielspardon
Copy link
Contributor Author

For the sake of reviewability could I ask you split this into 3-ish PRs. One for your initial cleanups/improvements, one for just the visitor changes, and one for subquery changes.

Sure, I already thought that this might be necessary.

@nielspardon
Copy link
Contributor Author

First extracted PR for the visitor changes: #427

@nielspardon nielspardon force-pushed the par-tpch-17 branch 5 times, most recently from 7b6ef99 to 764206a Compare June 27, 2025 19:24
@nielspardon
Copy link
Contributor Author

I removed the cleanup from this PR and rebased it on #427

…isitor

BREAKING CHANGE: adds a new context argument to RelVisitor, ExpressionVisitor and FuncArgVisitor

Signed-off-by: Niels Pardon <[email protected]>
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.

[isthmus] subqueries/set predicates with field references outside of the subquery fail
2 participants