cmu-db / optd

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

fix(cost): use 1000 as default table row cnt #208

Closed skyzh closed 1 month ago

skyzh commented 1 month ago

Helps us generate better plans across all regression tests, otherwise row_cnt=1 does not make much sense. This also fixes NLJ within subquery unnesting test case.

Call simplify expr when applying join pushdown rules, which in the future should be done automatically in the core.