Skip to content

opt: plan lookup anti-, semi-, and left joins on indexes with virtual columns #75873

@mgartner

Description

@mgartner

We don't currently plan lookup anti-, semi-, and left joins on indexes with virtual columns:

# TODO(mgartner): Generate lookup joins with virtual columns for semi- and
# anti-joins. This may also be possible for left joins, but could be tricky.

Planning anti- and semi-joins will depend on #75872, because decorrelation rules end up making projections of virtual column expressions with column IDs that do not match virtual column IDs in table metadata.

Metadata

Metadata

Assignees

Labels

C-enhancementSolution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)T-sql-queriesSQL Queries Team

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions