Skip to content

Conversation

Mytherin
Copy link
Collaborator

Implement #14513

The following syntax is now supported for uncorrelated subqueries, following what also works in Postgres:

SELECT (1, 2) IN (SELECT a, b FROM tbl);

The planning also works correctly for correlated subqueries - but the mark join with multiple join conditions is not correctly executed in the hash join currently (see the FIXME in the code). Should be addressed in the future but I felt this change was worthwhile by itself.

@Mytherin Mytherin merged commit c828cad into duckdb:main Dec 10, 2024
45 checks passed
krlmlr added a commit to duckdb/duckdb-r that referenced this pull request Dec 27, 2024
Implement duckdb/duckdb#14513: implement support for (a, b) IN (SELECT ...) for uncorrelated subqueries (duckdb/duckdb#15259)
github-actions bot pushed a commit to duckdb/duckdb-r that referenced this pull request Dec 29, 2024
Implement duckdb/duckdb#14513: implement support for (a, b) IN (SELECT ...) for uncorrelated subqueries (duckdb/duckdb#15259)
github-actions bot added a commit to duckdb/duckdb-r that referenced this pull request Dec 29, 2024
Implement duckdb/duckdb#14513: implement support for (a, b) IN (SELECT ...) for uncorrelated subqueries (duckdb/duckdb#15259)

Co-authored-by: krlmlr <krlmlr@users.noreply.github.com>
@Mytherin Mytherin deleted the issue14513 branch January 16, 2025 16:52
Mytherin added a commit that referenced this pull request Feb 25, 2025
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.

1 participant