Skip to content

fix(parse_tables): extract tables from expression subqueries#11

Merged
zfarrell merged 3 commits intomainfrom
fix/parse-tables-subquery-extraction
Jan 30, 2026
Merged

fix(parse_tables): extract tables from expression subqueries#11
zfarrell merged 3 commits intomainfrom
fix/parse-tables-subquery-extraction

Conversation

@zfarrell
Copy link
Collaborator

Resolves #10, and adds some additional table extraction support:

  • Adds support for extracting tables from subqueries in WHERE, SELECT, HAVING, QUALIFY, GROUP BY, and ORDER BY clauses
  • Adds support for UNION/INTERSECT/EXCEPT queries
  • Adds support for subqueries in JOIN conditions

DuckDB main branch has breaking API changes (SetOperationNode.left/right
replaced with children vector). Will re-enable after adding compatibility.
@zfarrell zfarrell merged commit 4c294fa into main Jan 30, 2026
28 of 29 checks passed
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.

parse_tables doesn't extract tables from subqueries

1 participant