Summary: Implemented join selectivity formulas for inner joins, left/right outer joins, and cross joins. Also properly accounts for filters in the join condition.
Demo:
We now match Postgres on our median Q-error. See #127 for more details on what queries this PR affected.
Details:
We only consider equality checks on columns of different tables to be "join on conditions".
Summary: Implemented join selectivity formulas for inner joins, left/right outer joins, and cross joins. Also properly accounts for filters in the join condition.
Demo: We now match Postgres on our median Q-error. See #127 for more details on what queries this PR affected.
Details: