...
This page is meant as a template for writing a KIP. To create a KIP choose Tools->Copy on this page and modify with your content and replace the heading with the next KIP number and a description of your issue. Replace anything in italics with your own description.
Status
Current state: [One of "Under Discussion", "Accepted", "Rejected"]
Discussion thread: thread: https://lists.apache.org/thread/g211rn7j09z1cgrspz0kstxqkkbwfpq9
Voting thread: https://lists.apache.org/thread/shxrhyxlt87rpc64d0xlbkndr6hy9oyhhere [Change the link from the KIP proposal email archive to your own email thread]
JIRA:
Jira | ||||||
---|---|---|---|---|---|---|
|
...
The config can either have the values "all", "none" or any of the three rules above. It cannot combine "all" or "anynone" with any other config.
Proposed Changes
...
- Add a rule to the optimizer that will rewrite an inner join to a self-join. The graphs (logical plans) created from the DSL excerpts above are the same (after the already existing optimization
mergeDuplicateSourceNodes
) and look as follows:
...