Skip to content

Add distinct if needed to the right side of a semijoin #24510

@kaikalur

Description

@kaikalur

Looks like SetBuilder works best when you give it distinct elements. So when we see something like:

select ... from t1
where id in (select id from t2)

we should distinct id in t2

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

Status
🆕 Unprioritized

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions