cmu-db / optd

CMU-DB's Cascades optimizer framework
https://cmu-db.github.io/optd/
MIT License
373 stars 22 forks source link

feat: join selectivity #145

Closed wangpatrick57 closed 7 months ago

wangpatrick57 commented 7 months ago

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. Screenshot 2024-03-31 at 13 13 48

Details: