Skip to content

LEADING hint cannot take effect when the subquery is the result of joins. #52789

Open
@winoros

Description

Enhancement

For the SQL select ... from a, b on ... where a.xxx in (select yyy from c, d where ...), we cannot use the LEADING hint to control the join order between the main query and the in subquery.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

affects-7.1This bug affects the 7.1.x(LTS) versions.affects-7.5This bug affects the 7.5.x(LTS) versions.affects-8.1This bug affects the 8.1.x(LTS) versions.affects-8.5This bug affects the 8.5.x(LTS) versions.epic/hintepic/sql-plan-managementreport/customerCustomers have encountered this bug.sig/plannerSIG: Plannertype/enhancementThe issue or PR belongs to an enhancement.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions