Skip to content

Conversation

@xiedeyantu
Copy link
Member

No description provided.

!plan

!set planner-rules "
+CoreRules.EXPAND_FILTER_DISJUNCTION_LOCAL"
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because the new disjoint algorithm performs FILTER_INTO_JOIN before and after execution, the EXPAND_FILTER_DISJUNCTION_LOCAL rule fails to take effect, leading to plan inconsistencies. Furthermore, EXPAND_JOIN_DISJUNCTION_LOCAL creates an infinite loop in the Volcano planner, making it unsuitable for planner.iq. Therefore, I moved it to hep.iq, allowing the Hep planner to perform the validation, which then executes the SQL correctly.

@xiedeyantu
Copy link
Member Author

Please review if you have time. @silundong

@sonarqubecloud
Copy link

Copy link
Contributor

@silundong silundong left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@xiedeyantu xiedeyantu added the LGTM-will-merge-soon Overall PR looks OK. Only minor things left. label Jan 1, 2026
@xiedeyantu xiedeyantu merged commit 74bbf47 into apache:main Jan 1, 2026
36 checks passed
@xiedeyantu
Copy link
Member Author

@silundong Thanks for your review!

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

Labels

LGTM-will-merge-soon Overall PR looks OK. Only minor things left.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants