You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem or challenge?
#23184 lets compatible range-partitioned inputs satisfy inner partitioned hash joins without repartitioning. Left-side partitioned equi joins still use the conservative hash repartition path even when both inputs are already co-partitioned by the join keys.
Related:
Is your feature request related to a problem or challenge?
#23184 lets compatible range-partitioned inputs satisfy inner partitioned hash joins without repartitioning. Left-side partitioned equi joins still use the conservative hash repartition path even when both inputs are already co-partitioned by the join keys.
Example
The compatible range inputs are already co-partitioned by partition index. The optimizer should not add hash repartitions.
Describe the solution you'd like
Extend the
InputDistributionRequirements::co_partitioned(...)to left-side partitioned equi hash joins.Covered join types:
LeftLeftSemiLeftAntiLeftMarkAcceptance criteria
LeftMarktests cover null-related marker behavior.Additional context
This should follow the multi-child requirement model added in #23184.