Skip to content

Add WinMagic Subquery Decorrelation #61

@yangjie407

Description

@yangjie407

Some correlated scalar subqueries repeatedly access tables that are already referenced by the outer query block, which can lead to unnecessary execution overhead.
Add WinMagic optimization to decorrelate eligible correlated scalar subqueries using window functions. This optimization reduces redundant access to tables shared by the outer query and subquery, allowing supported queries to be transformed into a window aggregation plan for better execution performance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions