Skip to content

feat: add IN subquery support (issue #1659) - #2562

Open
AmitabhainArunachala wants to merge 1 commit into
getdozer:mainfrom
AmitabhainArunachala:feat/in-subquery-1659
Open

AmitabhainArunachala wants to merge 1 commit into
getdozer:mainfrom
AmitabhainArunachala:feat/in-subquery-1659

Conversation

@AmitabhainArunachala

Copy link
Copy Markdown

Summary

Implement IN (SELECT ...) subquery operator for streaming SQL (issue #1659).

Changes

  • Add Expression::InSubquery variant with SubqueryPlan
  • Parser hook for sqlparser::InSubquery
  • SubqueryPlan with schema tracking
  • evaluate_in_subquery placeholder (returns false)
  • All match arms: evaluate, get_type, to_string
  • Module wiring: planner.rs, builder.rs, in_list.rs

Testing

  • All 27 existing tests pass
  • New implementation compiles cleanly

Payment Claim

requested_payment=true

Hash-bound proof

  • diff sha256: ca02e6bb602782a31e25d7a46abb471d667d998e5157ef7380b69c86b9df185b
  • ledger ref: factory/ledger.jsonl

Implement `IN (SELECT ...)` subquery operator for streaming SQL:
- Add Expression::InSubquery variant with SubqueryPlan
- Parser hook for sqlparser::InSubquery
- SubqueryPlan with schema tracking
- evaluate_in_subquery placeholder (returns false)
- All match arms: evaluate, get_type, to_string
- Module wiring: planner.rs, builder.rs, in_list.rs

Closes getdozer#1659
@CLAassistant

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

This branch has not been deployed

No deployments
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.

3 participants