Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Eliminate unnecessary cross joins #6395
This pull request adds simple join reordering algorithm. With
There are equality join conditions betweem
It will also try to preserve original join order as much as possible.
This solves issues with:
@pnowojski : How about making the property name more specific (e.g., reorder_cross_joins) ?
Also, could you please give specific TPC-H/DS query #s and observed speedup after introducing your change.
@KBP-TDC TPC-DS query 64, instead running indefinitely (12+ hours) finishes in couple of minutes. Query like in the description using TPC-H schema:
On tpch.sf1 schema on my laptop without
Regarding renaming it to
Anyway I think you need to reorganize commits in some logical way instead of way you implemented that.